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

Definition of source as e.g. "John Doe <[email protected]>" not being used #61

Open
fschaeffler opened this issue Feb 9, 2015 · 1 comment

Comments

@fschaeffler
Copy link

When I try to send an email with a request like the following, my source gets replaced from "John Doe [email protected]" to "FooBar Smith", no matter to what I change my source. The means my email-client displays "FooBar Smith" as the actual sender-text. Any ideas on the misbehaviour?

Code:
ses.send_email(:to => ['[email protected]'], :source => '"John Doe [email protected]"', :subject => 'test', :text_body => 'Test 111222333')

@yyamano
Copy link

yyamano commented Jun 19, 2015

I tried with '"John Doe [email protected]"', but I got the following error.
I think the source should be 'John Doe [email protected]'

/home/vagrant/apis-made-easy/vendor/bundle/ruby/gems/aws-ses-0.6.0/lib/aws/ses/base.rb:176:in `request': InvalidParameterValue - Missing final '@domain' (AWS::SES::ResponseError)
    from /home/vagrant/apis-made-easy/vendor/bundle/ruby/gems/aws-ses-0.6.0/lib/aws/ses/send_email.rb:70:in `send_email'
    from ses.rb:11:in `<main>'

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

2 participants