A
Andy Fish
Hi,
I have a .net (1.1) app that uses the MailMessage class to send email. I
have it connecting to the microsoft IIS SMTP Server on the local machine
which then actually sends the mail.
The problem is that when I send email to certain domains I get an error
reported in the SMTP log "see http://pobox.com/~djb/docs/smtplf.html". this
takes you to a web page talking about how you tried to send an email that
breaks the SMTP protocol by having LF without CR.
As you would expect, the documentation for the MailMessage class doesn't
mention what comprises a valid email body. However, presumably it would
either reject the text I have passed in or process it appropriately. Any
ideas what else could be going wrong?
TIA
Andy
I have a .net (1.1) app that uses the MailMessage class to send email. I
have it connecting to the microsoft IIS SMTP Server on the local machine
which then actually sends the mail.
The problem is that when I send email to certain domains I get an error
reported in the SMTP log "see http://pobox.com/~djb/docs/smtplf.html". this
takes you to a web page talking about how you tried to send an email that
breaks the SMTP protocol by having LF without CR.
As you would expect, the documentation for the MailMessage class doesn't
mention what comprises a valid email body. However, presumably it would
either reject the text I have passed in or process it appropriately. Any
ideas what else could be going wrong?
TIA
Andy