try tell application "http://webservices.codingtheweb.com/bin/qotd" set myquoteoftheday to call soap ¬ {method name:"GetQuote", method namespace uri:"urn:xmethods-qotd", SOAPAction:"urn:xmethods-qotd#getQuote"} end tell end try tell application "Mail" set mynewmessage to make new outgoing message ¬ with properties {content:return & "--------" & return & myquoteoftheday} tell mynewmessage set visible to true end tell activate end tell