The following script works on Tiger but not on Leopard.
tell application "Mail"
set newMsg to make new outgoing message
tell newMsg to make new to recipient
tell newMsg to make new cc recipient
set sender of newMsg to "address1"
set subject of newMsg to "Subject"
set content of newMsg to "content"
set address of first to recipient of newMsg to "address2"
set address of first cc recipient of newMsg to "address1"
send newMsg
end tell
error log
"Mail got an error: Can’t get to recipient 1 of outgoing message id 375171936. Invalid index."
Any help would be appreciated.