Title: Re: Count of Email Addresses in Message
On or near 11/20/01 2:41 PM, Geoff Wallace at [EMAIL PROTECTED] observed:
> Hello All,
>
> Is it possible to have a count of the number of email addresses in a
> message to be sent.
>
> The reason is that my cable provider has a maximum limit somewhere
> just above 80 addresses per email message.
>
> I send out a monthly newsletter to nearly 500 people.
>
> What I want is to know how people's addresses are in the email BCC Field.
Paul's scripts are probably a more complete answer for you, but if you want just the count, compile this:
tell application "Microsoft Entourage"
activate
try
set aMsg to item 1 of (get current messages)
on error
display dialog "No messages selected."
return
end try
set sub to subject of aMsg
set tc to count of ((recipients where the recipient type is to recipient) of aMsg)
set cc to count of ((recipients where the recipient type is cc recipient) of aMsg)
set bcc to count of ((recipients where the recipient type is bcc recipient) of aMsg)
display dialog "To: " & tc & return & "cc: " & cc & return & "bcc: " & bcc & return & sub
end tell
--
Add me to Palm/Visor: http://signature.coola.com/?[EMAIL PROTECTED]
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
Applescripts for Outlook Express and Entourage: <http://homepage.mac.com/allenwatson/>
- Re: Thanks, and question Allen Watson
- Re: Thanks, and question Paul Berkowitz
- Count of Email Addresses in Message Geoff Wallace
- Re: Count of Email Addresses in Message Paul Berkowitz
- Re: Thanks, and question Allen Watson
- Re: Thanks, and question Allen Watson
- Re: Thanks, and question Paul Berkowitz
- Re: Thanks, and question Allen Watson
