WebFaction
Community site: login faq

I have created a new mailbox lets call it 'mailbox' and an email address 'admin@idlog360.com' that forwards to another email address and points to a 'mailbox' as well. I have set up my Settings.py file as follows

EMAIL_HOST = 'smtp.webfaction.com'
EMAIL_HOST_USER = 'mailbox'
EMAIL_HOST_PASSWORD = '***********', my mailbox password
DEFAULT_FROM_EMAIL = 'admin@idlog360.com'
SERVER_EMAIL = 'admin@idlog360.com'
EMAIL_PORT = 587

When I try the following send_mail, I get Note: card.card_owner.email is a valid email address.

Not able to send email: (535, '5.7.0 Error: authentication failed: authentication failure')

try:
    send_mail('Subject here', 'Here is the message.', 'admin@idlog360.com', [card.card_owner.email], fail_silently=False)
except Exception as detail:
    print "Not able to send email:", detail

Can anyone see what I am doing wrong?

asked 17 Jan '12, 12:03

kcfancher
122
accept rate: 0%


Ah, I had changed the password earlier and not taken note of it. Well, at least it was a simple fix.

permanent link

answered 17 Jan '12, 12:38

kcfancher
122
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×261
×1

question asked: 17 Jan '12, 12:03

question was seen: 6,096 times

last updated: 17 Jan '12, 12:38

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM