Hi Guys,
currently I’m trying to figure out a way to create mail but with Rich Text Content, but not very sure how to. The reason for making it Rich Text is cos I plan to bold the CONTENT words.
My script is as the following, and I’m not sure how can I enable rich text…
tell application "Mail"
activate
set theDate to current date
set sentDate to date string of theDate
-- combining of variables. & is used to combine
set subject_variable to "Subject" & sentDate
set content_variable to "CONTENT"
set theMessage to make new outgoing message with properties {visible:true, subject:subject_variable, content:content_variable}
tell theMessage
make new to recipient with properties {name:"send", address:"add@add.com"}
set visible to true
make new bcc recipient with properties {name:"Archive", address:"add@add.com"}
end tell
end tell