Title: Suggestions of workaround for apple script that adds to group
I use this AppleScript to add a single email address to a group.
tell application "Microsoft Entourage"
set theMessage to item 1 of (get current messages)
set theAddress to content of theMessage
make new group entry at end of group "photoxicated.com" with properties {content:theAddress}
end tell
I have a web script I wrote that sets the body of a email to an email address and then sends that email to me, with a code in the subject. When Entourage sees that code, it runs the above script.
Entourage seems to add a \r\r to the body of a email for some reason, so I end up with [EMAIL PROTECTED] in my group. Cosmetically, this looks fine in the group, but when it hits the email server and a DNS lookup is attempted to be made on example.com\r\r, of course, the domain can not be found.
I have full control over the content of the notification email that is sent, so I can make the body of the email something like [EMAIL PROTECTED], but then I need help having the above AppleScript get the string between ## and ##
Any help is appreciated.
--
-------------------------------------------------------------
Scott Haneda Tel: 415.898.2602
<http://www.newgeo.com> Fax: 313.557.5052
<[EMAIL PROTECTED]> Novato, CA U.S.A.
- Suggestions of workaround for apple script that adds to gro... Scott Haneda
- Re: Suggestions of workaround for apple script that ad... Jud Spencer
- Re: Suggestions of workaround for apple script that ad... Paul Berkowitz
- Re: Suggestions of workaround for apple script that ad... Paul Berkowitz
