New user here. I cannot set up Microsoft Office 365 in the email setup of ERPNext.
These are the settings I am supposed to use as per the Microsoft documentation:
https://support.microsoft.com/en-us/office/server-settings-you-ll-need-from-your-email-provider-c82de912-adcc-4787-8283-45a1161f3cc3#:~:text=Use%20outlook.office365.com%20for,Outgoing%20Port%20Number%20587.
Server Settings for Microsoft 365 for business
- Use outlook.office365.com for incoming server settings.
- Use smtp.office365.com for outgoing SMTP server settings.
- Incoming Port 993 for IMAP or 995 for POP.
- Outgoing Port Number 587 .
I know it does not work because I get an error when I try to send a password reset email or any test email for that matter. I even paid a guy on fiverr.com to try to figure it out and he couldnât figure it out eitherâŠ
Thanks,
Sean
Edit 1: The error message in the ERPNext Python Docker container when the email tried to send:
Traceback (most recent call last):
File â/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.pyâ, line 415, in send_one
smtpserver.sess.sendmail(email.sender, recipient.recipient, message)
File â/opt/bitnami/python/lib/python3.7/smtplib.pyâ, line 867, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (530, bâ5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MWHPR22CA0004.namprd22.prod.outlook.com]â, âNotifications erpnext@myijack.comâ)
WARNING Property: Unknown Property name. [11:3: overflow-wrap]
Traceback (most recent call last):
File â/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.pyâ, line 415, in send_one
smtpserver.sess.sendmail(email.sender, recipient.recipient, message)
File â/opt/bitnami/python/lib/python3.7/smtplib.pyâ, line 867, in sendmail
raise SMTPSenderRefused(code, resp, from_addr)
smtplib.SMTPSenderRefused: (530, bâ5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [MWHPR10CA0052.namprd10.prod.outlook.com]â, âNotifications erpnext@myijack.comâ)
deletingâŠ
Edit 2: a screenshot of the ERPNext email domain settings: