I have never sent an email from my website and now it seems like I would need to send an email through my website preferabbly through the email account that comes with webfaction. So I just created a new mailbox and then went into the webmail to log in with that account and I was happy to find that I can successfully send email messages. Now my question is how can I get the settings so my django website can also send emails through that account. Seems like I would need the following settings
Then I would send an email using the following code
However I get an exception saying
asked 09 Oct '16, 18:30 franco850 |
The ports for the SMTP server are 25 (Standard), 465 (Secure/SSL), and 587 (Secure/TLS). You should be able to send email with the settings as specified in the documentation at https://docs.webfaction.com/software/django/getting-started.html#configuring-django-to-send-email-messages. answered 09 Oct '16, 19:57 maryh |