Ruby on Rails
Monday, August 3, 2015
On Sunday, 2 August 2015 02:11:52 UTC-4, sanoy wrote:
Random issue with my ruby on rails application out of the blue. I'm getting a 501 error each time a user tries to submit the form. This error does not occur when I'm running the app locally, it only occurs when I push to Heroku.> heroku logs --tail(The error shows up below)Net::SMTPSyntaxError (501 Sender syntax err$│app/controllers/contact_controller.rb:38:$ >usermailer.rbclass UserMailer < ActionMailer::Basedefault from: "string"
The error you're getting is the SMTP server rejecting your MAIL FROM command because of an invalid address. You've sanitized it to "string" here, so I can't say what's wrong with it. Make sure it doesn't contain any unwanted characters, and if it has dashes in it make sure they haven't been converted to Unicode ones by a "helpful" autocorrect.
You may want to reach out to Postmark's support and see if they can provide additional insight from their logs.
--Matt Jones
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bb48db3f-050e-467b-9a79-4752ea535cc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment