Jump to content

_INetMail Formatt $body multilined


mbkowns
 Share

Recommended Posts

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 by mbkowns
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...