E
Ewan
I'd like to send a mail in the future, but without the fuss and bother of
creating a time machine to do it! I'm using IMAP, and have recently switched
from a PC.
Using Outlook I can do this by clicking "Options" on a mail I'm composing,
and choosing a "Do not deliver before" time. This, combined with a timed
send/receive every 15 minutes or so is enough to do what I want: Reply to
mails at 10pm at night, but actually send them at 9am in the morning. This
works great, perfect for running a home business ostensibly within working
hours.
Entourage has this option too: "Send Later". If I set up a Send schedule
only within working hours, anything in the outbox sent at 10pm won't go
until the first send of the day, 9am. Except on the Mac, the send time in
the message header isn't altered. Open the mail, and it shows it has been
sent at 10pm. Not so good.
Fear ye not I thought, alter the date with a trusty Applescript, and put
that in your schedule before the send action. Here's what I created:
tell application "Microsoft Entourage"
set theMsgs to messages in (folder "Outbox")
repeat with theMsg in theMsgs
set time sent of theMsg to current date
set time received of theMsg to current date --might as well
end repeat
end tell
This actually seems to work if I run the script manually, but when in a
schedule - nada. I've also tried to manipulate the header as text with a
lengthier script, but it appears to be read-only.
Is there a better way to do this? Perhaps my script isn't quite correct?
Cheers,
Ewan
creating a time machine to do it! I'm using IMAP, and have recently switched
from a PC.
Using Outlook I can do this by clicking "Options" on a mail I'm composing,
and choosing a "Do not deliver before" time. This, combined with a timed
send/receive every 15 minutes or so is enough to do what I want: Reply to
mails at 10pm at night, but actually send them at 9am in the morning. This
works great, perfect for running a home business ostensibly within working
hours.
Entourage has this option too: "Send Later". If I set up a Send schedule
only within working hours, anything in the outbox sent at 10pm won't go
until the first send of the day, 9am. Except on the Mac, the send time in
the message header isn't altered. Open the mail, and it shows it has been
sent at 10pm. Not so good.
Fear ye not I thought, alter the date with a trusty Applescript, and put
that in your schedule before the send action. Here's what I created:
tell application "Microsoft Entourage"
set theMsgs to messages in (folder "Outbox")
repeat with theMsg in theMsgs
set time sent of theMsg to current date
set time received of theMsg to current date --might as well
end repeat
end tell
This actually seems to work if I run the script manually, but when in a
schedule - nada. I've also tried to manipulate the header as text with a
lengthier script, but it appears to be read-only.
Is there a better way to do this? Perhaps my script isn't quite correct?
Cheers,
Ewan