From: PAkerly on
Is it possible to make multiline text in an email message using VB
Script?

Here is what I am doing now...

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder(strFolder)

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Files being emailed"
objMessage.From = "me(a)server.com"
objMessage.To = "me(a)server.com"
objMessage.TextBody = "This is some text. I want this on line 1. I
want other text on other lines"
From: Pegasus [MVP] on


"PAkerly" <pakerly(a)gmail.com> said this in news item
news:4401855c-32cb-4c36-8a20-ed08246c6cf0(a)u37g2000vbc.googlegroups.com...
> Is it possible to make multiline text in an email message using VB
> Script?
>
> Here is what I am doing now...
>
> Set objFSO = CreateObject("Scripting.FileSystemObject")
> Set objFolder = objFSO.GetFolder(strFolder)
>
> Set objMessage = CreateObject("CDO.Message")
> objMessage.Subject = "Files being emailed"
> objMessage.From = "me(a)server.com"
> objMessage.To = "me(a)server.com"
> objMessage.TextBody = "This is some text. I want this on line 1. I
> want other text on other lines"

Separate the lines with vbCRLF or with vbLF.