Can't make new line when pushing an Outook e-mail

petko

Registered User.
Local time
Today, 19:57
Joined
Jun 9, 2007
Messages
89
Hi,

I'm trying to send an Outlook e-mail from Access. Everything works fine except for one thing:

When generating the HTMLBody I use vbNewLine for starting a new line in the string that works fine as long as being in Access. However after displaying it in Outlook there are no any new lines in the mail text; the complete text is one mass.
I tried to use Chr(13) but had the same result.

Has anybody an idea how this could be fixed?

Appreciating any help

Peter
 
if you are writing html text then you need to use the html codes for newline, indent etc

I think the html equivalent of vbNewLine is <br>
 
Thanks CJ_London, that works fine!
 

Users who are viewing this thread

Back
Top Bottom