Closed jreyesr closed 3 years ago
Update: Sendgrid rejected the account application, with something like these symptoms. They seem to be quite nervous about spam.
We'll keep using the Gmail account for now. If something more professional is required, we can try SendInBlue: 300 emails per day (should be plenty), no credit card required.
For better transactional emails, we should use Sendgrid. Changing the current Gmail acct to Sendgrid should be easy, as explained in https://sendgrid.com/docs/for-developers/sending-email/django/:
views.py
to to include an email address on the From field (something likeAgroSmart Team <notifications@flysensorec.com>
, instead of the single name that is currently used: https://github.com/IS-AgroSmart/AgroSmart-Web/blob/254f2c5370241f5d1ff46efb8680178a8e5dab97/core/views.py#L585-L587Additionally, the domain should be verified. Docs are on https://sendgrid.com/docs/ui/account-and-settings/how-to-set-up-domain-authentication/. Steps are: