1

is it possible to configure mail.rb (in RESTFUL authentication) to test email activation locally? the default file is

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
    :address => "mail.example-domain.com",
    :port => 25,
    :domain => "www.example-domain.com",
    :authentication => :login,
    :user_name => "[email protected]",
    :password => "secret"
}

thanks

2 Answers 2

1

This might help:

Just make a yaml file with all the config

1
0

I really like using MailTrap -- a local SMTP server that knows Just Enough about SMTP to listen to ActionMailer requests... and write them to a file where you can look at them later.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.