macario
1
I’ve problems sending mail from my rails app
In the app config/enviroment.rb file I have this settings:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.sendmail_settings = {
:location => ‘/usr/sbin/sendmail’,
:arguments => ‘-i -t’
}
I’ve followed this gide:
http://www.red91.com/articles/2007/11/05/sending-mail-with-rails
But when I try to send mail I get a broken pipe error.
I will apreciate any feedback
macario
2
Hello,
I think you must install sendmail program as you say with the line
/usr/sbin/sendmail.
You can try with sudo apt-get install sendmail
I tried that and now everything is working.
Good luck
Macario O. wrote:
I’ve problems sending mail from my rails app
In the app config/enviroment.rb file I have this settings:
ActionMailer::Base.delivery_method = :sendmail
ActionMailer::Base.sendmail_settings = {
:location => ‘/usr/sbin/sendmail’,
:arguments => ‘-i -t’
}
I’ve followed this gide:
http://www.red91.com/articles/2007/11/05/sending-mail-with-rails
But when I try to send mail I get a broken pipe error.
I will apreciate any feedback