This project is archived and is in readonly mode.
ActionMailer crash
-
LJD
Formatted log:
Net::SMTPFatalError (550 5.0.0 bad.address@gmail.com... User unknown): /usr/local/lib/ruby/1.8/net/smtp.rb:930:in `check_response' /usr/local/lib/ruby/1.8/net/smtp.rb:899:in `getok' /usr/local/lib/ruby/1.8/net/smtp.rb:842:in `rcptto' /usr/local/lib/ruby/1.8/net/smtp.rb:834:in `rcptto_list' /usr/local/lib/ruby/1.8/net/smtp.rb:833:in `each' /usr/local/lib/ruby/1.8/net/smtp.rb:833:in `rcptto_list' /usr/local/lib/ruby/1.8/net/smtp.rb:654:in `sendmail' /usr/local/lib/ruby/1.8/net/smtp.rb:526:in `start' app/controllers/mail_controller.rb:115:in `send_email' -
dimas
I also got an error that i think has correlation with that.
I've tried to find out, why this error occured, many people said that the error caused by removing bracket on from option, "sender sender@mail.com" to "sender@mail.com" only, but it's not worked.This is the stack trace of my error:
Net::SMTPFatalError (555 5.5.2 Syntax error. 20sm15207659pzk.1
): /usr/local/lib/ruby/1.8/net/smtp.rb:930:incheck_response' /usr/local/lib/ruby/1.8/net/smtp.rb:899:ingetok' /usr/local/lib/ruby/1.8/net/smtp.rb:842:inrcptto' /usr/local/lib/ruby/1.8/net/smtp.rb:834:inrcptto_list' /usr/local/lib/ruby/1.8/net/smtp.rb:833:ineach' /usr/local/lib/ruby/1.8/net/smtp.rb:833:inrcptto_list' /usr/local/lib/ruby/1.8/net/smtp.rb:654:insendmail' /usr/local/lib/ruby/1.8/net/smtp.rb:526:instart' /usr/local/lib/ruby/1.8/net/smtp.rb:463:instart' app/models/user.rb:99:ininvite_manually' app/models/user.rb:97:ineach' app/models/user.rb:97:ininvite_manually' app/controllers/dashboard_controller.rb:106:insend_invitation_manually' -
LJD
dimas, I believe that your problem is a slightly different one. It is covered by ticket #2340 action mailer can't deliver mail via smtp on ruby 1.9.1 or 1.8.7. The discussion on that ticket has a workaround that worked for me. It involves adding a modified perform_delivery_smtp method to your project.
-
Santiago Pastorino
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale