Sending multiple emails fails to Micorsoft 365 fails but works with GMAIL #265
Replies: 2 comments
-
The status code 550 is because the requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons) Please avoid sending Email too frequent and try delay the next message sending.
The third parameter ( You also can close session later by calling |
Beta Was this translation helpful? Give feedback.
-
For the detail message of status code 550, please print this to see what SMTP server says after you get the SMTP server related error like in this case.
|
Beta Was this translation helpful? Give feedback.
-
With Office365 SMTP I am using the Send HTML example that sends the first email succesfully but all susbsequent emails fail with "Error, Status Code: 550, Error Code: -109, Reason: send body failedFree Heap: 199248" Upon reset the first message is successful
With the same sketch Google Gmail SMTP succeeds for all messages sent and when forwarded to my office365 email address the first one forwards and all subsequent fail to forward until reset.
Beta Was this translation helpful? Give feedback.
All reactions