When a program alias recieves the message it creates a temp file that can be parsed, have your executable read the body and copy it to a text file. We parse the body for commands and perform actions based on those commands


Rick Davidson
National Systems Manager
North American Title Group
-
----- Original Message ----- From: "The Site Doctor" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 10, 2005 1:00 PM
Subject: [IMail Forum] Program Alias



Hi,

Today I've been trying to use the Program Alias facility in iMail for now to
simply store the email as a text file (as outlined in the KB article:
http://support.ipswitch.com/kb/IM-19980116-DD11.htm). This works fine but I
want to extend it further now.


So, I've written a little EXE which simply creates a TXT file, when running
this text file on the server it runs fine and creates the text file but
nothing happens when being called by iMail, iMail doesn't even touch, so I
thought it was because it wasn't in a batch file, so I wrote a batch file
which simply calls this exe (START d:\SupportTicketer.exe %1). Again when
running it from the server its fine but nothing happens from the email
account.


Has anyone managed to get the program alias to work further than a batch
file and if so could they give me a few pointers, I would like to log the
email to a text file for now :)

Cheers.

Tim

BTW my C# code is:

static void Main(string[] args)
{
FileInfo t = new FileInfo("redbird.txt");
StreamWriter Tex = t.CreateText();
Tex.WriteLine("I am running");
Tex.Write(Tex.NewLine);
Tex.Close();
}


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/





To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to