mbkowns Posted October 30, 2007 Share Posted October 30, 2007 (edited) I am sending email using _INetMail($address, $subject, $body) Everything works great but I would like to make it multilined on the body variable. If I set $body="THIS IS SOME TEXT IN MY EMAIL" it works great but my signature is not included in the email even though it is setup to include one everytime. I am using outlook 2003 for sending email. So what I would like $body to represent is this $body=" THIS IS SOME TEXT IN MY EMAIL SUPERMAN CELL(999)999-9999 FAX(999)999-9991" #include <INet.au3> #include <File.au3> $var = IniReadSection("C:\a.ini", "NEW-WO") If @error Then MsgBox(4096, "", "Error occurred, probably no INI file.") Else For $i = 1 To $var[0][0] $Address = "email@test.com $Subject = "W.O. #" & $var[$i][1] $Body = "" _INetMail($address, $subject, $body) Next EndIf Edited October 30, 2007 by mbkowns Link to comment Share on other sites More sharing options...
Nahuel Posted October 30, 2007 Share Posted October 30, 2007 $body= @CRLF & @CRLF & _ "THIS IS SOME TEXT IN MY EMAIL" & @CRLF & _ @CRLF & _ "SUPERMAN" & @CRLF & _ "CELL(999)999-9999" & @CRLF & _ "FAX(999)999-9991" ??? Link to comment Share on other sites More sharing options...
mbkowns Posted October 30, 2007 Author Share Posted October 30, 2007 That was exactly it I just wasn't sure about page breaks mostly a DUH moment for me... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now