How To Send And Receive Email With Django And Amazon SES

pip install django-ses-gateway
AWS_ACCESS_KEY_ID = "Your AWS Access Key"    AWS_SECRET_ACCESS_KEY = "Your AWS Secret Key"
from django_ses_gateway.receiving_mail import sending_mail    sending_mail(subject, email_template_name, context, from_email, to_email)
from django_ses_gateway.receiving_mail import sns_notification    subject, from_mail, to_mail, hash_code, mail_content = sns_notification(request.body)

The article was originally published at MicroPyramid blog



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store



Python, Django, Android and IOS, reactjs, react-native, AWS, Salesforce consulting & development company