Eudora TM Search Contact Us
Support - Technical Support Resources and Knowledgebase User Forums - See users' online questions and answers about Eudora products, or post your own questions to the Eudora Community. Developers - Resources for Developers writing code to interact with Eudora Press - Press Releases and News Articles Testimonials - Read what others are saying about Eudora
Qualcomm

 

How to Script Multiple ETRN Commands

Document ID: 2152HQ

ISSUE:

How can I script multiple ETRN commands in EIMS?

SOLUTION:

This document covers how to send ETRN commands to multiple queues.

When using the Dialup Manager to manage an intermittent connection it is often necessary to deliver ETRN commands to more than the one queue to receive mail destined for the domains you are hosting in EIMS. To accomplish this you can use AppleScript to issue the ETRN command for each of the queues as shown in the following example script using the Remote ETRN AppleEvent:

tell application "Dialup Manager"

     Remote ETRN "mail.isp.com" queue "domain1.com"

     Remote ERTN "mail.isp.com" queue "domain2.com"

end tell

Using this example for mail.isp.com you would substitute the domain name of your ISP's mail server host which has been designated to queue mail for your domains as a backup mail server. For domainX.com you would substitute the actual queue name your ISP is using for each domain. This is usually the mail domain name.

AppleScript can also be used to start queues on the local EIMS server. The following example script uses the ETRN AppleEvent to accomplish this:

tell application "EIMS Server"

     ETRN "domain1.com"

     ETRN "domain2.com"

end tell

NOTE: The examples above are to help you get started. Technical Support does not have the resources available to help you write or customize your scripts. For additional information, visit our Developer area for example applescripts, or visit the alt.comp.lang.applescript newsgroup.

KEYWORDS: EIMS, SCRIPTING, ETRN


[Search Again]

Did this document help you to resolve your issue?
YES
NO


 

| Home | Online Support | Open Source Development | User Forums | Contact Webmaster |

| QUALCOMM | Section 508 | Privacy Statement | Terms of Use |


© 1999-2009 QUALCOMM Incorporated. All rights reserved. QUALCOMM and Eudora are registered trademarks of QUALCOMM Incorporated. All other trademarks are the property of their respective owners.