WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> SMTP server Errors when using AutoEmail
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1120746780

Message started by zzerek on Jul 7th, 2005 at 3:33pm

Title: SMTP server Errors when using AutoEmail
Post by zzerek on Jul 7th, 2005 at 3:33pm
We are currently having problems with our SMTP servers due to slow response.  Is there anyway to tell Watchdirectory wait until SMTP server is available, increasing Timeout?

Thank You.

Title: Re: SMTP server Errors when using AutoEmail
Post by Gert on Jul 7th, 2005 at 5:06pm
According to the blat usage (run blat -h on a command prompt):

Code (]
-ti <n>         : set timeout to 'n' seconds.  Blat will wait 'n' seconds for server responses
-try <n times>  : how many times blat should try to send (1 to 'INFINITE')
[/code):



So, if you want to set the timeout of blat to 60 seconds, locate the following line inside wdAutoEmail.bat:
[code]SET BLTCMD="%BLATEXE%" "%BLATTMP%\%WD_FILE_N%.BLAT"

(around line number 150)
and change it to
[code]SET BLTCMD="%BLATEXE%" -ti 60 "%BLATTMP%\%WD_FILE_N%.BLAT"
[/code]

Hope that helps,
Gert

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.