|
|
tell application "Mailsmith 1.5" if subject of message window 1 is not "" then if contents of message window 1 is not "" then if 1st to_recipient of message window 1 is not "" then set myAcct to mail account (sending account of message window 1) set savedAddress to reply address of myAcct set toDomain to address of 1st to_recipient of message window 1 set toDomain to 3rd word of toDomain set result to (display dialog "Enter the address you want to use:" default answer toDomain & "@" & last word of savedAddress) if button returned of result = "OK" then set reply address of myAcct to text returned of result send message window 1 set reply address of myAcct to savedAddress end if else beep end if else beep end if else beep end if end tell |
|||||||||