Neviem ako si to myslel s tym novym mailom?! Ja ked poslem mail, adresatovi sa po precitani zobrazi vyzva ci chce odoslat potvrdenie alebo nie a mne pride mail s potvrdenim (samozrejme ak to adresat povoli). Takyto mail putuje hned do zlozky “Read” ktoru som si vytvoril.
using terms from application “Mail”
on perform mail action with messages selectedMsgs
repeat with msg in selectedMsgs
set theSubject to subject of msg
set theSender to extract name from sender of msg
set theAddress to extract address from sender of msg
set theDate to date sent of msg
tell application “Mail”
set nowDate to current date
set theBody to “Your message” & return & return & ” Re: ” & theSubject & return & ” Sent: ” & theDate & return & return & “was received” & nowDate & “. You WILL NOT get a second confirmation when the message is actually read. Thank you.” & return
set newMessage to make new outgoing message with properties {subject:”Return Receipt: ” & theSubject, content:theBody & return & return}
tell newMessage
make new to recipient at end of to recipients with properties {name:theSender, address:theAddress}
end tell
send newMessage
end tell
end repeat
end perform mail action with messages
end using terms from
Das ho do /Library/Scripts/Mail Scripts/
Otvoris Mail.app a das si novy rule:
* Description: Read Receipt Requested
* if (all) of the following conditions are met:
o (Disposition-Notification-To) (contains) (@)
o (Subject) (does not contain) (Return Receipt)
* Perform the following actions:
o (Run AppleScript) (~/Library/Scripts/Mail Scripts/Return Receipt.scpt)
Tak s tym som nerobil nic. Ani som ho nestahoval a dorucenky mi funguju… Poslem mail, prijemca prijme, potvrdi a mne dojde mil s textom:
his is a receipt for the mail you sent to at 11/6/2007 2:29 PM
This receipt verifies that the message has been displayed on the recipient’s computer at 11/7/2007 1:49 PM
Milan, nie je to moc zlozite ked to funguje aj takto? Aky vyznam tam ma ten script vlastne? Pytam sa lebo ja som z toho uplny jelen.
A ja ani taku zlozku nemam ako pises cestu kam ten script ulozit
Podarit sa nam to podarilo, akurat ze ja mam verziu, ze ked odoslem mail tak sa to adresata spyta ci chce alebo nechce potvrdit a s tym scriptom co tu popisoval Milan to potvrdenie pride hned ako si adresat pozrel mail bez opytania.
scenic: “Mal by…” Skusal som to sam sebe (zo schranky do schranky) – nepytalo ziadne potvrdenie. Skusal som pisat Alexovi – nepytalo potvrdenie, no neposlalo ani oznamenie. :D Vyskusam este s inymi schrankami.
Autor
Príspevky
Zobrazuje sa 20 príspevkov - 21 až 40 (z celkového počtu 95 )