Link to home
Start Free TrialLog in
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?
Avatar of Rob
Rob
Flag of Australia image

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
Avatar of Rob
Rob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of webdesigner_dk
webdesigner_dk

ASKER

Thanks! That solved it!