Send transactional emails from your Django project using Loops’ SMTP service.
connection
for each email request that you want to send through Loops.connection
for sending this email as typically only some emails in a project will be sent through Loops.
Add these settings to your project (e.g. in an .env
file).
Field | Value |
---|---|
Host | smtp.loops.so |
Port number | 587 |
Username | loops |
Password | An API key copied from your API settings in Loops |
transactionalId
value in the email payload.