email - how to do django SMTP setting using aws instance with EIP and default domain name -
have took 2 day, can't find method.
1.aws linux instance have pre-install sendmail, need send out email. don't how configure sendmail , other package.
2.try use aws ses, needs verify domain, means need deal aws router 53. after reading complicated document , "create hosted zone", aws ses domain verification still "pending" after 24 hours. guessing maybe default eip domain name, "ec2-***-amazonaws.com" not qualified/registered domainn ?
as newbie smtp setting, don't know do? since if using free mail server, seems still need 'verify domain', if aws default domain name "ec2-***-amazonaws.com" invalid, how can pass domain verification?
by way, since sendmail pre-install, , website simple, small group used, how set configuration , other package email server on instance itself?
any suggestion appreciated!
thank you
it's easier if configure email django app directly third party email provider, by-passing local sendmail configuration altogether. trying set email connection aws/ses on server pain, it's easier configure django app connect directly aws/ses
you have 3 popular choices setup email django:
- set connection gmail/google apps .- if you'll sending lot of email volume wouldn't recommend option, because block if use relay lot of email.
- set connection aws/ses.- mention tried this, try set connection inside django using python packages
boto,django-ses, make email setup easier. in addition,botouseful if plan use other aws service s3. - set connection mandrill.- provider, not big google or aws, provide service decent free email volume , can set connection directly django.
take @ article -- wrote -- describes set steps 3 providers in detail: http://www.webforefront.com/django/setupdjangoemail.html
Comments
Post a Comment