Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with parentheses in the "FROM:" display name #46

Open
yas4891 opened this issue May 30, 2015 · 4 comments
Open

Doesn't work with parentheses in the "FROM:" display name #46

yas4891 opened this issue May 30, 2015 · 4 comments

Comments

@yas4891
Copy link

yas4891 commented May 30, 2015

Sending an email with the following from email address results in a 400 Bad Request:
Christoph (Derp.com) <[email protected]>

I tested the same with mailgun-ruby and it works there, so it's not the mailgun API not supporting it.

@peromax
Copy link

peromax commented Jul 22, 2015

+1 Same problem!

@techsin
Copy link
Contributor

techsin commented Apr 6, 2016

found solution?

@techsin
Copy link
Contributor

techsin commented Apr 6, 2016

is there really no way to fix that. I am pretty sure problem lies in rails_message[:from].formatted

@techsin
Copy link
Contributor

techsin commented Apr 6, 2016

ok solved it

if you set it like this it works: default from: "My Company Name <[email protected]>"
i did this in application_mailer.rb

got hint from rails guides on actionmailer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants