Reputation: 2000
Do I need an actual mailbox and verified email to send email with SES?
I own the domain I am trying to send from, but I do not have an account or mailbox setup (this is just a test domain, and I don't want to setup a gmail mailbox)
Is there a better way to be doing this in a test environment?
I am using the django-ses package, and sending email like this:
send_mail('Test subject', 'This is the body', '[email protected]',['[email protected]'])
I very well may have a fundamental misunderstanding of sending email, so any help is appreciated!
Upvotes: 0
Views: 633
Reputation: 968
At first, you need to verify domain or email address to send from Amazon SES. But you don't need to verify address whom you want to send.
For example,
send_mail('Test subject', 'This is the body', '[email protected]',
['[email protected]'])
Here, you need to verify [email protected] at AWS SES, not [email protected].
Upvotes: 1
Reputation: 978
In the test environment, you can send messages e-mail only to address registered in sandbox.
Upvotes: 1