What the error means
550 5.6.11 is returned when a message you sent contains bare line feeds and the destination email server cannot accept them. Microsoft's NDR reference table calls it "Invalid characters" and says your email program added invalid characters, bare line feed characters, to the message.
Microsoft explains the background in its dedicated article. Each line of an email message is supposed to end with a carriage return followed by a line feed (CR LF). A bare line feed is a line feed (LF, ASCII 10) without the carriage return (CR, ASCII 13) in front of it. A message with bare line feeds can only be sent between servers with SMTP Chunking, which uses the BDAT command defined in RFC 3030. If the destination server does not support BDAT, it cannot accept the message.
Microsoft 365 used to strip bare line feeds so that older servers could still receive the mail. To better support security standards such as DomainKeys Identified Mail (DKIM), Office 365 no longer removes them, so these messages now bounce instead.
Common causes
- The email program, script or application that created the message wrote LF line endings instead of CR LF.
- An attachment or generated content introduced bare line feeds into the message.
- The recipient's email server is an older or free server that does not support the SMTP BDAT command, or it is set to reject bare line feeds.
How to fix it
1. Send from a different email program
Microsoft's first step for senders is to send the message with an email program that does not add bare line feeds, such as Outlook on the web.
2. Try sending without the attachment
If the original message had an attachment, send it again without the attachment. If that works, share the file another way. If neither step helps, give your email admin the NDR and Microsoft's article.
3. Recipient's admin: allow bare line feeds
Some servers can turn off bare line feed rejection. For Exchange Server, Microsoft points to the BareLinefeedRejectionEnabled setting on Receive connectors, set with Set-ReceiveConnector:
Set-ReceiveConnector -Identity "<Connector Name>" -BareLinefeedRejectionEnabled $false4. Recipient's admin: upgrade to a server that supports BDAT
Microsoft's second solution is to upgrade the destination email server to a newer version, or to different email server software, that supports the SMTP BDAT command. Microsoft notes that most modern email servers support BDAT, but some free and older servers do not.
If nothing works
If you control the application that generates the mail, this is a general step: fix it so every line ends with CR LF before the message is submitted. Otherwise the change has to happen on the recipient's server, so pass the NDR and the explanation above to the recipient's admin.
What we checked
Three Microsoft Learn pages were read on 2026-11-21. Microsoft's article Fix NDR error "550 5.6.11" in Exchange Online explains bare line feeds, SMTP Chunking and BDAT, why Microsoft 365 stopped removing bare line feeds, the two sender workarounds and the two admin solutions, including the BareLinefeedRejectionEnabled setting for Set-ReceiveConnector. The Exchange Online NDR reference table gives the description, and the Set-ReceiveConnector cmdlet reference gives the parameter syntax for Exchange Server. The error was not reproduced for this page.
Last checked: 2026-11-21.