You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.
OTP emails is an important component of any email communication strategy. In order to ensure delivery of OTP emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.
You need to complete these given prerequisites, you can skip the step if you have already completed.
Sign up for a Mailazy account.
Complete Domain Authentication.
Generate the Mailazy Access Key
There is more detailed information about sending email over SMTP with Django on the Django project website.
First start by adding the following to settings.py:
EMAIL_HOST = 'smtp.mailazy.com' EMAIL_HOST_USER = 'access_key' EMAIL_HOST_PASSWORD = ‘access_secret’ EMAIL_PORT = 587 EMAIL_USE_TLS = True
Then to send email you can do the following inside yourapp.views.py
from django.core.mail import send_mail send_mail('Subject here', 'Here is the message.', '[email protected]', ['[email protected]'], fail_silently=False)
Mailazy email delivery platform is powered by AI and uses the global infrastructure so that you can scale effortlessly. Mailazy is the trusted transactional email provider for hundreds of businesses and we are growing every day. We are known for being the most reliable and trusted senders on the internet.