Automating emails and importance / color
Hi;
I have a program that sends out automatic emails to company personnel
use OLE. My basic code looks like this:
m = new OLEAutoClient("Outlook.Application")
item = m.CreateItem(0)
item.to = 'John.smith
item.subject = database field
item.body = 'Reminder'
item.send()
I would really like to adjust the subject color to red or to set a flag
based on importance. Please describe what item.commands are needed for
me to accomplish this. Example code would be most welcome.
Thanks
Pat
|