Solved

Apple script for forwording emails:

Posted on 2007-04-03
5
855 Views
Last Modified: 2012-05-05
Hello,
i have a mail box and i want to forward therse messages to anoher user.
Is there any applescript for doing this.
Any other methods alos welcome;
0
Comment
Question by:Ludo_Dirckx
5 Comments
 
LVL 39

Expert Comment

by:Eoin OSullivan
ID: 18844050
Where is the Mailbox?? In Apple Mail??
Do you want to forward a number of emails to another user on Apple Mail or another email program?
Do any of the emails have attachments?

0
 
LVL 3

Accepted Solution

by:
mcmarks earned 125 total points
ID: 18849226
In Apple's Mail program, go to the preferences and select the Rules pane.  Add a new rule that Applies to Every Message and performs the action of Forward Message.  Put in the e-mail address you want to forward it to and you're done.
0
 

Author Comment

by:Ludo_Dirckx
ID: 18849727
Hello eolnosullivan , mcmarks
thanks for the reply.
eolnosullivan - yes it is a mac mail and  i want to forward the mails to another email(mac).
Those e-mails have attachments and most of the emails are html mails.

mcmarks:
This is a kind of solution i was searching for.
I made a rule and try to run the rule. But the mails are still in my mailbox. Isend it to my another email.
i did not receive the mails. May be it will work for the niew comming mails is it correct.

 I did it also via an applescript with my email.  The script is bellow. This  cases i received the mails as plain text.

tell application "Mail"
  set theMessages to the selection
  repeat with thisMessage in theMessages
    set newMessage to make new outgoing message at end of outgoing messages
    tell newMessage
      set content to thisMessage's source
      set subject to thisMessage's subject
      make new to recipient with properties {address:"mymail@mydomain.com"}
    end tell
    send newMessage
    set read status of thisMessage to true
  end repeat
end tell

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OX X Lion, NFS and the automounter 7 42
IOS TableView 8 55
Best Software Development Company to use for business applications? 3 118
Apple iOS Starting question 3 297
Preface   In the first 100 days of the Macintosh release in January 1984, Apple sold 72,000 of the computers. Relatively cheap, easy-to-use personal computer with a graphical operating system. I've never seen this model. I did see this one:   …
CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question