|I am using a batch file to write a vbs email file. I am unable to create the text body of the email which includes the vbCRLF code. When the TextBody is written to the Target file, it has executed the first vbCRLF, and returns errors as it tries to execute the second vbCRLF and the last string. Enclosing it in double quotes doesn't work.|
echo.TextBody = "Here is your file link." & vbCrLf & vbCrLf & "https:hereitis.com/file.pdf" & vbCrLf & "The link expires in 10 days.">>Target.txt
The vbCRLF are used to format a lengthy text body for the email.
Your help is appreciated.