Solved

Apple script for forwording emails:

Posted on 2007-04-03
5
859 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
[X]
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
5 Comments
 
LVL 40

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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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:   …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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