Look at the file permissions on the IMAIL.EXE file and then match those permissions to your new executable. That way you won't have to be logged in with administrative privileges and the file should then run under a system account.
Bruce Barnes ChicagoNetTech -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of The Site Doctor Sent: Tuesday, May 10, 2005 12:00 To: [email protected] Subject: (SPF-None) [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/
