Solved

email client

Posted on 1998-09-15
2
176 Views
Last Modified: 2013-12-26
Hi
I need an email client to run on a mac which can be automated using applescript and/or prefab player. The client must be able to handle multiple users and be able to retreive mail from a POP3 server on the LAN.
We are already running a script on startup on our mac network which mounts users required server volumes and launches client software, logging on using the username and password supplied.
I want to add the ability to check local email automatically for an individual user. I have tried this with Outlook Express, however the dialog to select a user does not respond to input from "prefab player" correctly. I can get prefab player to type a username but the selection in the list box alters for every keystroke (ie typing "ian" will select the first "i" then the first "a" etc).

Alternatively does anyone know whether there is a telnet application which can be controlled by Applescript. With this I could just telnet into the server and check for a users mail.

Any help will be greatly appreciated
0
Comment
Question by:gormenghast
2 Comments
 
LVL 3

Accepted Solution

by:
boonstra earned 100 total points
ID: 1291546
Eudora Pro will do what you want.  You'll want individual Eudora preferences file (and Eudora folder) for each user.  You'll need to check the "Save password" option in the "Checking Mail" Settings pane.  Then the following AppleScript will work (tested with Eudora Pro 3.1.3):

on run
      tell application "Finder"
            open file "<insert_full_path_name>:Eudora Settings"
      end tell
      
      tell application "Eudora Pro"
            connect with checking
      end tell
end run
0
 
LVL 2

Author Comment

by:gormenghast
ID: 1291547
Hi
Thanks for the input.
I have not tried it out as I do not have Eudora, but I am sure it would work.
I have made some progress anyway with the discovery of the "TCP/IP Scripting Addition" I can talk to the IMAP server directly and find out if there is any UNSEEN mail for a user. This is ideal as I only really want to throw up a dialog for the user to inform them of new mail waiting.
Know anything about ResEdit? I have just posted a question if you can help out.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 76
Define unique primary key 9 89
Shell script to login to remote m/c and execute commands 10 78
countEvens challenge 2 73
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

948 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now