Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Apple script for forwording emails:

Posted on 2007-04-03
5
857 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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