Welcome to WebmasterWorld Guest from 54.166.33.25

Forum Moderators: ocean10000

My line feeds don't show up in outlook

From a CDO message sent from webserver

   
5:47 am on Jun 10, 2005 (gmt 0)

10+ Year Member



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.

6:53 am on Jun 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you certain you aren't sending the messages as HTML?
1:40 pm on Jun 10, 2005 (gmt 0)

10+ Year Member



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 ;)

2:08 pm on Jun 10, 2005 (gmt 0)



It may also be the 'remove line breaks' feature in Outlook:

[support.microsoft.com...]

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month