Hi smart people! I'm using this script:
http://www.adaxes.com/script-repository ... t-s423.htm
Which works great for sending an email to someone, listing their direct reports.
My issue is that I'd like to update the section below, to do some email formatting for the message, but my HTML is not strong. Can someone offer advice on forcing the email to have a specific font?
I've been trying to google some solutions but so far everything I've tried is no-go. Here's part of the original script, where it sets a variable ($reportFooter) for the body of the email:
$to = "%mail%" # TODO: modify me
$subject = "Direct Reports of %name%" # TODO: modify me
$reportHeader = "<h1><b>Direct Reports of %name%</b></h1><br/>"
$reportFooter = "<hr /><p><i>Please do not reply to this e-mail, it has been sent to you for notification purposes only.</i></p>"
Now - I've updated the $reportFooter using the <pre> tag to avoid having to manually <br> out every line break, etc.:
$reportFooter = "<hr /><p>Hello,</p><br>
This is a listing of the Direct Reports currently attributed to you.
Blah blah blah (rest of the message goes here)
Love always, the IDM Team
<br>
<br>
" # TODO: modify me
I've tried forcing a different font by using a couple of different permutations of the tag
<font face="verdana" color="green">This is some text!</font>
but the email still shows up with the default font.
Like I said, my HTML is pretty vague, so any advice on how to format the whole body of the email at once would be greatly appreciated!
Thanks for any and all replies!