Using applescript to insert image into new e-mail -- Help?

Hi,

I’m a noob to applescript…but coming from about 17+ years of programming (this is my first post here, so I figured I would throw that in.) :

I’ve managed to create an applescript that runs a shell script (php) then inserts the results of the shell script into the the signature.

Question is, using mail.app, i want to insert an <img tag into a new message that I’m composing. Inserting it into either the signature or the message body itself.

Is there some way with actionscript to insert html tags into the message body of a new e-mail that is being composed?

Can someone help? This has been stumping me all day.

Thanks,

holmescreek

Model: Mac G5 Duel 1.8GHZ
Browser: Safari 312.3.3
Operating System: Mac OS X (10.3.9)

I’m not an Mail user, so I don’t know the rigth answer, but you could use XMail (scripting addition) to compose any kind of fully customized email message, using its “send raw mail” command:

http://osaxen.com/files/xmail3.2.html

(includes sample scripts/raw email samples)