As far as I know program aliases need to be exe's with no parameters. I'm shure someone will correct me if I am wrong.
Kevin Bilbee > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Martin Oliver Madsen > Sent: Sunday, April 18, 2004 10:59 AM > To: [EMAIL PROTECTED] > Subject: [IMail Forum] Problem with program alias in Imail 8.1 > > > Hi, > > I have a problem with a program alias that should send me an email: > > '----------- > ' Set the shell object > Set Shell = CreateObject("wscript.shell") > > ' Send confirmation of update email code here > retval = Shell.Run("D:\IMail\imail1.exe -f > D:\IMail\Sniffer\text.txt -s 'Sniffer Update OK' -t > '[EMAIL PROTECTED]' -u '[EMAIL PROTECTED]'", 0 true) > > Set Shell = Nothing > '----------- > > When I run this script in my command prompt everything works > okay, but when running from a program alias nothing happens. > Here is what I have tried in the program alias: > > C:\WINNT\system32\cscript.exe D:\IMail\Sniffer\sniffer_update.vbs > cscript D:\IMail\Sniffer\sniffer_update.vbs > D:\IMail\Sniffer\sniffer_update.vbs > > No email is sent to me! > > I then tried to make a handler that would trigger this vbs > script, if vb-scripts was not allowed as the 'resolves to' > program in a program alias. > > Here is what that .bat holds: > > copy %1 D:\IMail\Sniffer\bluebird.txt > cd d:\Imail\Sniffer > sniffer_update.vbs %1 > > The first line in the bat file is executed (the file is > copied) but the vbs is never executed or the vbs file does > nothing when run from a program alias. > > What am I missing ?? I am running Windows 2000 (completely > pathed) and Imail 8.1 > > Thanks for any info, > > /Martin > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.656 / Virus Database: 421 - Release Date: 09-04-2004 > > > > 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/
