Script to make mail fwd new messages
Script to make mail fwd new messages
- Subject: Script to make mail fwd new messages
- From: Vincent <email@hidden>
- Date: Wed, 24 Nov 2010 22:34:46 +0400
Can somebody help me? Below is what i gathered here and there on the net.
What I would like to do is to have mail fwd all received mail from some specific address to a particular address in the case below which is "simla" from a particular account from which is "vince".
I got an internal mail server which I have my hands on and an external which I have no control. I want to otomatically forward incoming mails of external account to an internal destination using internal mail server.
On the mac receiving the mail from external, the mails are moves otomatically using defined rules to some specific and organised folder.
Any help will be greatly appreciated.
thx
tell application "Mail" set theMessages to the selection
repeat with current_Message in theMessages set fwd_Message to forward current_Message with opening window tell fwd_Message activate set sender to MsgSender set my_recipient to make new to recipient at end of to recipients with properties {address:MsgRecipient} send fwd_Message end tell end repeat end tell |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden