West Wind Internet and Client Tools
email with Outlook 365
Gravatar is a globally recognized avatar based on your email address. email with Outlook 365
  Jill Lindgren
  All
  Sep 4, 2020 @ 09:03am

Hi. I am having trouble sending email with an outlook 365 client. Any help would be appreciated. ~Jill Lindgren

When trying to use the wwsmtp I get back the following error message:

Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00C880, 1.36674:01000000, 1.61250:00000000, 1.45378:02000000, 1.44866:00000000, 1.36674:7A000000, 1.61250:00000000, 1.45378:05000000, 1.44866:00140000, 1.36674:0A000000, 1.61250:00000000, 1.45378:16000000, 1.44866:0F1D0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:281D0000, 1.44866:30010000, 16.55847:AF0E0000, 17.43559:0000000030020000000000000200000000000000, 20.52176:140F2A8D0B00F01F1F001432, 20.50032:140F2A8D7B17F01F07000000, 0.35180:1F000130, 255.23226:FF2F0000, 255.27962:7A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:35000000, 0.35250:0A001336, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:52000000, 1.36674:32000000, 1.61250:00000000, 1.45378:57000000, 1.44866:01000000, 16.55847:BE000000, 17.43559:0000000070030000000000000000000000000000, 20.52176:140F2A8D0B0010106E000000, 20.50032:140F2...

I have lUseSsl = .T.

If I make lUseSsl= .F. I get another error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM (MN2PR00CA0049.prod.exchangelabs.com)

Gravatar is a globally recognized avatar based on your email address. re: email with Outlook 365
  Rick Strahl
  Jill Lindgren
  Sep 4, 2020 @ 01:06pm

That sounds like an account restriction. Office 365 has rules for what can be used to send out email. Not sure what those are exactly (varies by type of account - company accounts in particular have different rules than personal accounts) but I'm guessing that's what the problem is.

Frankly sending through these big services like Google, Outlook.com/Office.com is nothing but a hassle because they essentially don't want to be automated (in fear of spam attacks). It's better to use a dedicated email service like MailGun or Sendgrid that are set up for external SMTP (or API) access.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: email with Outlook 365
  Jill Lindgren
  Rick Strahl
  Sep 4, 2020 @ 01:17pm

Got it. Thanks for the quick reply.

© 1996-2020