SMTPException: SMTP AUTH extension not supported by server

350 views
Skip to first unread message

Xiomara Piche

unread,
Oct 9, 2017, 2:21:24 PM10/9/17
to Bots Open Source EDI Translator

Hello,

I have having trouble setting up the error reports being sent via email when a file errors out. Below is what I have and I keep getting error when I test. Can anyone provide some insight as I am not very familiar with setting this up. Thank you

20171009 11:19:26 INFO     : Sending test mail failed, error:
SMTPException: SMTP AUTH extension not supported by server.

    ('name_manager', 'mana...@mycompany.com'),
    )
EMAIL_HOST = 'smtp.office365.com'             #Default: 'localhost'
EMAIL_PORT = '465'             #Default: 25
EMAIL_USE_TLS = False       #Default: False
EMAIL_HOST_USER = 'rep...@mycompany.com'        #Default: ''. Username to use for the SMTP server defined in EMAIL_HOST. If empty, Django won't attempt authentication.
EMAIL_HOST_PASSWORD = 'companypass'    #Default: ''. PASSWORD to use for the SMTP server defined in EMAIL_HOST. If empty, Django won't attempt authentication.
#~SERVER_EMAIL = 'rep...@mycompany.com'           #Sender of bots error reports. Default: 'root@localhost'
#~ EMAIL_SUBJECT_PREFIX = ''   #This is prepended on email subject.

BikeMike

unread,
Nov 4, 2017, 6:16:01 AM11/4/17
to Bots Open Source EDI Translator
Hi,
I don't think the office365 servers will work using simple username/password authentication, they need oauth2. So you won't be able to use them here unfortunately. Does your company have an on-site mail server? Or ISP provided mail server?
Reply all
Reply to author
Forward
0 new messages