Jump to content

Send Email via Office 365


This topic is 1443 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have set up an email routine for a client, who is using Office 365, and I am testing on my desktop at home before I move it to their server. I can send email in this script via my own domain, no problem, as I have been able to for many years. But it seems that no matter what options I use mail doesn't successfully send via Office 365.

I've tried "office365.com", "smtp.office365.com", "outlook.office365.com" for the outgoing server. I've added an Exchange account in system prefs. I've tried every combination of port and authentication.

It generally results in "The connection was refused by the SMTP server"... error 1502. (Sometimes 1506.)

It is the same with Gmail, for what that is worth informationally.

Thank you,

Jim

Link to comment
Share on other sites

Both Google and Microsoft (and many others) are pushing hard to discourage the use of these old protocols since they are deemed insucure.

See the graphic on this blog post:

https://techcommunity.microsoft.com/t5/azure-active-directory-identity/new-tools-to-block-legacy-authentication-in-your-organization/ba-p/1225302#

Both providers have announced that within the next 12 months or so we won't be able to use protocols like SMTP, POP and IMAP with legacy forms of authentication anymore.

So you may want to get ahead of the curve and use their APIs instead:

https://www.soliantconsulting.com/blog/microsoft-graph-api-filemaker-one/

Link to comment
Share on other sites

So make sure to double-check their Office account to see if it even allows it.  Google for instance makes explicitly allow "less secure applications" until they take away the capability altogether.

Link to comment
Share on other sites

This topic is 1443 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.