There's many options to send email using action mailer :
[1] You can use gmail account for your action mailer
Read it :
[2] You can use email domain, the way is the same like above you only
change it :
:address => "smtp.yourdomain.com",
:port => 25, # default is 25 but you can use also 26
:domain => 'yourdomain.com',
:user_name => "your_username@yourdomain.com",
[3] If you are using linux OS, the last line paste it in
config/environment.rb:
Is sendmail where rails expects it to be? By default it looks for it at /usr/sbin/sendmail, you can change that by setting ActionMailer::Base.sendmail_settings[:location]
Is sendmail where rails expects it to be? By default it looks for it
at /usr/sbin/sendmail, you can change that by setting
ActionMailer::Base.sendmail_settings[:location]
Sometimes port 25/26 is blocked to send email, and some email providers
are refusing to receive email from port 25 that uses localhost smtp.
Yahoo and Gmail are the most email provider that is not too extrem in
filtering incoming email.
Another reason, your email isn't delivered well is your header or format
of sendemail. Checkout your development.log, if there is 200K OK, or
notification that actionmailer was working but you still cant receive
email. it means that your problem is from your localhost. Maybe your
internet provider is blocking or dont want send you email from localhost
port 25 or 26.
Yahoo and Gmail are the most email provider that is not too extrem in
filtering incoming email.
CORRECTION: Yahoo and Gmail are the most email provider that ARE TOO
extrem in filtering incoming email. Nowdays spam issue is the top issue
in emailing or between email providers.