Hi Bob,
On Sep 29, 2013, at 11:53 AM, Robert Cuilla <
email@hidden> wrote:
Hello to all,
I have a AS written that grabs some system info, sticks it into Apple mail and sends to to several other Macs and ios devices. Works just fine.
However, I would like to highlight portions of the text in different colors in the mail message so the recipient is alerted to these areas.
Can anyone point me or give me some guidance on whether or not this is doable?
What if you sent an HTML email?
- Have your AppleScript generate the HTML document
- Open the HTML document with Safari
- Have Safari share it as an email
- Have Mail, email it
I believe that this should work
-- Kaydell
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>HTML Email Highlighting</title>
<style type="text/css">
.highlite {
color: black;
background-color: yellow;
}
</style>
</head>
<body>
<p>What if you sent an HTML email?</p>
<ol>
<li>Have your <span class="highlite">AppleScript</span> generate the <span class=="highlite">HTML</span> document</li>
<li>Open the HTML document with <span class="highlite">Safari</span></li>
<li>Have Safari <span class="highlite">share</span> it as an email</li>
<li>Have <span class="highlite">Mail</span>, email it</li>
</ol>
<p>I haven't tried it, but it may work for you.</p>
</body>
</html>