[computer artwork by subhash <[EMAIL PROTECTED]> schrieb am 23.1.2006 um
21:08 Uhr:]

>Is there a possibility to demand receipts or a confirmation of reading
>with PM?

Here ist is:

[AppleScript]
-- script by [EMAIL PROTECTED]
tell application "PowerMail"
        set selectedMsgs to the current messages
        repeat with msg in selectedMsgs
                if headers of msg contains "Disposition-Notification-To:" then
                        set temp to display dialog ("A receipt for reading was 
requested. Send?")¬
    buttons {"Cancel", "OK"} default button 2
                        if button returned of temp is "OK" then
                                set theSubject to subject of msg
                                set theDate to time sent of msg
                                set nowDate to current date
                                set msg to (reply to msg)
                                set status of msg to draft
                                set subject of msg to theSubject
                                set content of msg to "Hi!" & return & return & 
"Your message" &
return & return & "       subject: " & theSubject & return & "       sent
on " & theDate & return & return & "was received and read on " & nowDate
                                set status of msg to waiting
                        end if
                end if
        end repeat
end tell
[/AppleScript]

--
.. . . . . . . . . . . . . .
computer artwork by subhash
   http://www.subhash.at
   Apple-Automatisierung
Screen | Web | GrafikDesign
.. . . . . . . . . . . . . .





Reply via email to