HTML, CSS, JavaScript
SMTP error: 550 Maximum line length exceeded
Gravatar is a globally recognized avatar based on your email address. SMTP error: 550 Maximum line length exceeded
  n/a
  All
  Feb 5, 2013 @ 07:31pm
I have a procedure that constructs an html email message via code and sends it out. Every so often, i see that some mail servers bounce the msg back with a "550 Maximum line length exceeded" error. A support rep is recommending that a CRLF be imbedded (periodically) in the message body to alleviate the problem. I'm surprised that this is necessary in an html email type message. What exactly are the characters to imbed in that message format? (Our email addr / server is supposedly whitelisted)

~~~

From: Mail Delivery System <Mailer-Daemon@serv01.siteground169.com>
Date: February 5, 2013 12:02:42 PM EST
Subject: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

SMTP error from remote mail server after end of data:
host outbound.mailspamprotection.com [108.163.201.226]:
550 Maximum line length exceeded (see RFC 5322 2.1.1).

Gravatar is a globally recognized avatar based on your email address. Re: SMTP error: 550 Maximum line length exceeded
  Rick Strahl
  Chris ODonnell
  Feb 6, 2013 @ 12:31am
Yeah that's a problem with some old mail servers and it's a good idea not to create single stream strings that don't include carriage returns.

wwSmtp can't break the strings because the breaks may have meaning so that's your responsibility.

+++ Rick ---



I have a procedure that constructs an html email message via code and sends it out. Every so often, i see that some mail servers bounce the msg back with a "550 Maximum line length exceeded" error. A support rep is recommending that a CRLF be imbedded (periodically) in the message body to alleviate the problem. I'm surprised that this is necessary in an html email type message. What exactly are the characters to imbed in that message format? (Our email addr / server is supposedly whitelisted)

~~~

From: Mail Delivery System <Mailer-Daemon@serv01.siteground169.com>
Date: February 5, 2013 12:02:42 PM EST
Subject: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

SMTP error from remote mail server after end of data:
host outbound.mailspamprotection.com [108.163.201.226]:
550 Maximum line length exceeded (see RFC 5322 2.1.1).




Rick Strahl
West Wind Technologies


from Lago de Garda, Italy

Making waves on the Web

© 1996-2024