Avatar of webdesigner_dk
webdesigner_dk
 asked on

send e-mail with asp

Hey,

I send an automatic email to users after they have completed a form. Recently though, the e-mail is being block by some spam filters with the following error:

 ----- Transcript of session follows -----
.. while talking to gw1.security.comendo.com
>>> DATA
<<< 552 5.6.0 Body line too long (see RFC2822 section 3.5)

I have been told that the error might be in the break lines of my script which look like that:

 str = str & "  <span" & cssBold & ">Configurator link:</span> " & config_url & "<br>"

Any thoughts?
ASPASP.NETHTML

Avatar of undefined
Last Comment
webdesigner_dk

8/22/2022 - Mon
Rob

You will need to break the line with \r\n.  Even though you're using <br> that doesn't break the line as the line is interpreted as text.  By using \r\n you are sending the command to break the line.
ASKER CERTIFIED SOLUTION
Rob

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
webdesigner_dk

ASKER
Thanks! That solved it!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes