question

CodeTest-6410 avatar image
0 Votes"
CodeTest-6410 asked P000-1671 published

Your message wasn't delivered because the recipient's email provider rejected it.

I registered and created a new domain on Office 365 to experience O365 E3 trial version then created an application in Dot Net to send emails using graph API, both to same and different (gmail etc.) domains.
On coding side I don't see any error being produced, however on mail box side immediately I receive an email saying:

Delivery has failed to these recipients or groups:
**@something.onmicrosoft.com
Your message wasn't delivered because the recipient's email provider rejected it.


I am able to send emails from mailbox, manually by visiting https://outlook.office.com/
I am Office 365 global admin.

office-outlook-itpro
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you sending too many emails in a short period of time?

0 Votes 0 ·

Hi @CodeTest-6410

Have you checked the suggestions below? Any further update?


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

Check your SPF on your cpanel domain. Delete All spf record and make only one spf record like this :

Name : yourdomain.com
Time : 3600
Type : TXT
Record : v=spf1 include:spf.protection.outlook.com -all

0 Votes 0 ·

Hi @CodeTest-6410

I am writing to see how everything is going on with this thread. If you still have further concern on this, please feel free to let us know.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 Votes 0 ·

Am having the same problem, what do I do

0 Votes 0 ·
Show more comments
joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered

Hi @CodeTest-6410

Could you please share the complete NDR information you received, note to clear your personal information.

For example, if you receive the code like Remote Server returned ‘550 5.7.520 Access denied, Your organization does not allow external forwarding.
Then you will need to enable the forwarding.

Go to the Office365 Security and Compliance Dashboard

  1. Expand Threat Management and click Policy

  2. Click Anti Spam

  3. In the Anti-Spam settings, locate Outbound policy and click Edit protection settings

  4. In the Outbound policy, expand Automatic forwarding rules. The default is set to Automatic – System-controlled.

  5. Select On – Forwarding is enabled and click Save. Forwarding to external mail addresses is now allowed. Note Microsoft says it may take up to 24 hours before the change takes effect.

177319-image.png

If that's not your case, please refer to this: How to set up a multifunction device or application to send email using Microsoft 365 or Office 365
You could check which option you are using now, make sure you have meet all needs to use this option.


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (6.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JoeParisella-4597 avatar image
0 Votes"
JoeParisella-4597 answered AmandaKrause-7707 published

I am getting the same error, it worked two days ago and I have not changed any settings.

My email ends with a hotmail.com

the message is "your message wasn't delivered because the recipient's email provider rejected it"

I have checked the forwarding setting but this is more of a third party sending emails through my email (that software is QuickBooks)

it seems like there may be an added security that was recently turned on but I have no idea where

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Same here your message wasn't delivered because the recipient's email provider rejected it. Direct, not via 3rd party

0 Votes 0 ·

Same with my email. I have been emailing invoices and receipts for years. As of this week, I haven't been able to email anything. We are hotmail as well.

0 Votes 0 ·
Harie-2448 avatar image
0 Votes"
Harie-2448 answered

Check your SPF on your cpanel domain. Delete All spf record and make only one spf record like this :

Name : yourdomain.com
Time : 3600
Type : TXT
Record : v=spf1 include:spf.protection.outlook.com -all

It's work for me!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CharlesGomes-1418 avatar image
0 Votes"
CharlesGomes-1418 answered CharlesGomes-1418 published

I have similar issue.

Some of my email returns like this:
Diagnostic information for administrators:

Generating server: CWXP123MB5396.GBRP123.PROD.OUTLOOK.COM
HRasheed@gibbs-gillespie.co.uk
Remote Server returned '550 5.7.520 Message blocked because it contains content identified as spam. AS(4810)'
Original message headers:

Received: from LO2P123MB5478.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:231::9)
by CWXP123MB5396.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:13b::5) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar
2022 14:49:07 +0000
Received: from LO2P123MB5478.GBRP123.PROD.OUTLOOK.COM
([fe80::f10c:8a06:ea65:dd6c]) by LO2P123MB5478.GBRP123.PROD.OUTLOOK.COM
([fe80::f10c:8a06:ea65:dd6c%9]) with mapi id 15.20.5038.027; Tue, 8 Mar 2022
14:49:07 +0000
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Charles Gomes <jsserviceslondon@hotmail.com>
To: Haffeeza Rasheed <HRasheed@gibbs-gillespie.co.uk>
Subject: Re: 72 Lovelace House - Issue Reported - PART APPROVAL ON THE QUOTE
Thread-Topic: 72 Lovelace House - Issue Reported - PART APPROVAL ON THE QUOTE
Thread-Index: Adgvqwq9viyYOGQZQvqUhMV6XPdurQDIbemd
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Tue, 8 Mar 2022 14:49:07 +0000
Message-ID: <f097420ea86840c5ac9177725fe3b055LO2P123MB54789738545E5A06D2A8E472D0099@LO2P123MB5478.GBRP123.PROD.OUTLOOK.COM>
References: <LNXP265MB1721C87FB8F4CFA31A58148FD8059@LNXP265MB1721.GBRP265.PROD.OUTLOOK.COM>
In-Reply-To: <LNXP265MB1721C87FB8F4CFA31A58148FD8059@LNXP265MB1721.GBRP265.PROD.OUTLOOK.COM>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: <f097420ea86840c5ac9177725fe3b055LO2P123MB54789738545E5A06D2A8E472D0099@LO2P123MB5478.GBRP123.PROD.OUTLOOK.COM>
x-tmn: [wY7bfaiVDFTY2x8pUDTlone+Q7B1yGNJ]
X-MS-Office365-Filtering-Correlation-Id: 24ec4e40-cddb-4703-38df-08da0112cc64
x-ms-traffictypediagnostic:
CWXP123MB4149:EE_|LO2P123MB5478:EE_|CWXP123MB5396:EE_
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
aDk9ddIy5nOtHZ8mn95gC/AfyBhEKzt4jS0Ydi9G/ciJa3wPws1RYKUFzyTL0bJOPUK7oGUy9P6RIhGKPtXw3rZvtpo5eO04j5plMmwQWClbhPnmyQHNtW4Vnju9GLyWsOybOPA8TxqvzRF2IqukO8n8Z89RMz4Eud6Sn+nQEmrnzPjAZOcCOhu7hQvu02FMJ8uXopGJb+V7hmfbliQ+JLzEr1McN8BeZbSP1DtG6kQWSRg+F1/lmD7G2jsg+OBZ1gc68AaJA/73jaUSUDwyCNQFHiBWVj9qTSMUUGP+pmegRBOzHFP0RpLMtt/WaeRg9POp6Lv/k1pEAGSwAt/UdcnEV9zNCWuHBpgg7bDSTLeuh6dI2U82z7YyBUVyYl9/8N/QGMpceaIN+wygVUwL5R21DA52oDPM2mHc+UfB/x2D34Jz0YywOHyVZRu8RIEa7CqCcEpYmjhdsrgJrjV/hAIe++J4s9d3k+/cnTKSzAznfstUsGr1QMJQkS8w1Z+DFZgcAZsOe89uD2eN6sc8BfzFMUTBNdxdOTIqYVKAFiTJ7oK52MEpKmVJGH86SDU3ryz528A91NMZ509n2a17dWmQdGQovyonsFQAhod4Go5mfrBLyz84nop58FdnpoOfhTPACkqBigkGQGXQIo++PwUJcKE0e/GewS145f9KYLw4ch5fDz3vqP9pWXzJeySiIQQQLMfujzCAOOD0YlmrZ8wthE9RxvHIBKOxabjB/TdtOIMJzT5gak0OqmVVvdB0WdExPoWUlLEkxb8KDUaqBw==
suggested_attachment_session_id: 986f2746-e910-d231-dd42-7ef82efc43d2
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
Return-Path: jsserviceslondon@hotmail.com
X-MS-Office365-Filtering-Correlation-Id-Prvs:
b91f327c-a2ac-4658-eb77-08da00e3e95a
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0:
rHSIUizfq8X2XAILnnPJzuGkL0vQt9McyndCLWZMhZU19oueMinExL44Q1vGm4VPi3LOgRiMlyLLTphDABC6MGFsONrONY9VbXP82ya0QhxYscQA+uxva1EfbSttAweelFQlSQHPZQ9KeHgiNGyDxdq94pJVKYpk9B1OTCZpJDINIWxxecwA1YuHEUbycdWba6zB/jEGI5EuG0klL8wBp3wM/73VMr61j46Aj2tFA+TJ4MDRpz5N4WR9ovZEFbxhRHSvpWO6df5r0B010Ri1eo3nbjOc409+uMVgIyuDIrqsgpGUtkHwI8pVV168RSdxeQwrG4zjRTAfdEQSArFa721QFhxZXYtZ5Plf5YEA91kmR8R1wjPBj75N0DVG/aJKQSJeWaJSY+nNZHHgbZ6AR8rQEwe0Zv1BGnnpVvjE2mCdkHpH+9zdrfshmf4PAVxJMLXEmNZHSGWIAmNqvVCiVWdfFALB2IZ+H49IDOemO9Kh7M0l94qTiV2JBt07m8cH6PZe2GoCQRWUowESYW4gVdesHWyqEFmG+ActqKocu/qBQiIaDnUCokCPQZmc3Nim7WY9EGugVsoKp10nzgjok53OyUEQ8owzD/2KebmRoiw+5A8RaXzCpssU65FffaeAFBVNLwrRnCjQ6G7z6pvHbQsFPZCkdSLM5DmS25yAn8gZGjt32oReV4X6ybclnF3ZqgLzFI+B1mXVKKP3NpDK2kLWglJxA6EBvmm9H+v6+rYgpvUnxBabi7ExaSJJ7MyCk4h5KkfAXjljKQULGAcJYZv/+dwTgYE4vzfte8bcSkWRnbiwXJfJ1NmBhKlqDA9T/PRktOfMalVrBT5K7YMV6aeNeEx9tgWn2D9+xumyXcWqGYIphrTzv2ueA/wVbWojlVzXhE2cDa7fPjEaHNLsOAyAsucmO6spcgd5heWuwbfiZ/Phuh8PbafADKcs6Y2x

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.