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?
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! That solved it!