Welcome to WebmasterWorld Guest from 22.214.171.124 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
My line feeds don't show up in outlook From a CDO message sent from webserver TheDave msg:954906 5:47 am on Jun 10, 2005 (gmt 0) I'm trying to send a text only email, but my line feeds are lost when the email comes in. I'm using something like this:
mailbody = "Something on this line" & vbCrLf & "Something on this line too"
CDO.TextBody = mailbody
What do I use to get my line feeds to show up in a text only email? If I view the message source the line feeds are there, it just doesn't display them in outlook.
Krapulator msg:954907 6:53 am on Jun 10, 2005 (gmt 0)
Are you certain you aren't sending the messages as HTML? TheDave msg:954908 1:40 pm on Jun 10, 2005 (gmt 0)
No, I'm not :) I'm assuming that when you set the TextBody it sends as text?
Here's my code:
Ahhh, guess what. I just found the problem. For some reason the include with the modified sub routine didn't get published with the rest :o I'm at home now and connecting straight to the server, that's why I only just noticed it. I havn't tested but I'm guessing that's the problem :) Thanks. Always the little things, isn't it ;)
Receptional Andy msg:954909 2:08 pm on Jun 10, 2005 (gmt 0)
It may also be the 'remove line breaks' feature in Outlook: