Answer the question
In order to leave comments, you need to log in
[sendgrid] How to set return address in email?
Hello everyone!)
I am setting up mailing lists via the sendgrid service in a django project. I set up according to the instructions from the office. site .
Settings:
# settings.py
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = 'sendgrid_username'
EMAIL_HOST_PASSWORD = 'sendgrid_password'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
send_mail('Subject here', 'Here is the message.', email_отправителя, [user.email])
The sender has been verified. However, the email came from the sendgrid.net domain, which does not match the return address.
Sender: sendgrid.net
Signature: sendgrid.net
Encryption: yes
Spam: yes
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question