Solved

Apple script for forwording emails:

Posted on 2007-04-03
5
858 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
Objective C Mac Phonebook to CSV 4 52
Applescript: open word file on remote server 2 1,203
iPhone / Android App Location 3 442
MAC Address iPhone 5 4 745
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…
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

735 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