dufran3 Posted May 25, 2007 Share Posted May 25, 2007 Here is the piece of code that I am working with. It is all on one line. I am trying to break it up into multiple lines for readability. I know this can be done, but just can't seem to get the syntax correct. Can someone help? I am using smtp to send an e-mail and am trying to break up the line of the .TextBody... With $objMail .From = "blah@blah.com" .To = "blah@blah.com" .Subject = "this is a test" .TextBody = "Computername: " & @ComputerName & @CRLF & "Date: " & $Date & @CRLF & "Time: " & $Time EndWith Thanks GUYS!!!!! Link to comment Share on other sites More sharing options...
Helge Posted May 25, 2007 Share Posted May 25, 2007 Drop the commas. MsgBox(64, "", _ "dasdas" & @CRLF & _ "dsadas" & @CRLF & _ "dsada") Link to comment Share on other sites More sharing options...
dufran3 Posted May 25, 2007 Author Share Posted May 25, 2007 u pwned me. Thx buddy! 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