Hi,
I have a small CGI script that I wrote that sends email using sendmail.
Usually it works fine but for some email addresses the newlines end up doubling, or there are no newlines at all.
Any idea why this could be happening or how to fix it?
I have thought that maybe adding Content-Type: text/plain before the content would help. The script currently doesn't specify any content type and I thought that some ISPs might interpert it different.
However when I do that the email wont send. No error, just no email is sent. I have no idea why.
Any ideas?
Thanks,
Leon
I have a small CGI script that I wrote that sends email using sendmail.
Usually it works fine but for some email addresses the newlines end up doubling, or there are no newlines at all.
Any idea why this could be happening or how to fix it?
I have thought that maybe adding Content-Type: text/plain before the content would help. The script currently doesn't specify any content type and I thought that some ISPs might interpert it different.
However when I do that the email wont send. No error, just no email is sent. I have no idea why.
Any ideas?
Thanks,
Leon