Solved

email client

Posted on 1998-09-15
2
179 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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