botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[email] Replies from the Bot via Email are not delivered with NDR 550 5.7.501 Access denied, spam abuse detected

Open soloveyalex opened this issue 9 years ago • 6 comments

Hi

We have configured a Bot with e-mail channel (email address at office 356). Bot does receive incoming email messages, responds them, and builds outgoing email message. But then the message is not delivered with the error

Remote Server returned '550 5.7.501 Access denied, spam abuse detected. For more information please go to http://go.microsoft.com/fwlink/?LinkId=526653'

However, direct sending email from Bot's mailbox (via Office365 portal) to same recipient does work just fine.

Moreover, the failed messages are successfully sent and delivered if MANUALLY resent from O365. Tried this with 3 different email servers including gmail.com. Same thing.

Any ideas or suggestions?

Regards, Alex

soloveyalex avatar Feb 02 '17 12:02 soloveyalex

@craigjensen can you comment?

msft-shahins avatar Feb 02 '17 20:02 msft-shahins

There are numerous reports on this problem when sending mail from O365. The reason seems to be that your server has been blacklisted and you need to contact O365 support to get it unlisted. If you click the "Ask the Community" link on the above page you should be able to report the issue and hopefully they can help you get it resolved.

craigjensen avatar Feb 02 '17 21:02 craigjensen

@craigjensen, that sounds reasonable, we'll check it with O365 support. But! There is a one suspicious thing that made me to write the post here prior contacting them.

As I mentioned above, I'm able to successfully send any emails from Bot's mailbox MANUALLY. And even re-send the ones that initially failed with NDRs. So, as a bottom line, its only a bot who can't send emails :) So, same mailbox, same sender, same recipient, same contents. The only difference is the way email was initiated: manually via o365 portal or programmatically from bot.

As far as I understand how black lists work none of emails would bу delivered at all if server was blacklisted.

soloveyalex avatar Feb 03 '17 09:02 soloveyalex

I'm not sure why that would be but I ran across other reports on the internet that seemed to indicate that they could successfully send mail with the OWA client but it would fail when using the EWS API's (which is what BF uses). I'd still suggest getting in touch with O365 support and see if they can give you a better answer than I.

craigjensen avatar Feb 04 '17 00:02 craigjensen

closing due to inactivity. Please reopen if needed

craigjensen avatar Feb 22 '17 15:02 craigjensen

Just to update the thread: the issue is not resolved. Nobody knows what happens. Neither O365 support, nor Bot framework community. Perfect...

soloveyalex avatar Feb 22 '17 16:02 soloveyalex