Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Mail.app (Sendername/Senderaddress)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail.app (Sendername/Senderaddress)



tell application "Mail"
set theSelection to selection
set theMessage to item 1 of theSelection
get sender of theMessage
end tell

right, right, right ... But I want to get "the name of the sender" and "the emailadress of the sender" isolated.

As I was using Entourage this was possible ...
set theSenderAddress to (address of sender of theMessage)
set theSenderName to (display name of sender of theMessage)

MMS
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.