- This topic has 6 replies, 3 voices, and was last updated 15 years ago by .
-
Topic
-
Hi all We are on CL 5.7 on Win 2003.
I am having problems with sending emails with attachment (or without) from a UPoC thread. I have a Tcl proc that works just fine when called from hcitcl. When I use the same proc in UPoC thread (I tried both – using advanced scheduling and Read TPS) the email gets sent but it takes 25-40 minutes to send it.
I don’t get any error messages. It just seems that responses from Exchange Server take forever. When I use debug mode in smtp::sendmessage I can see in the log that request sent to exchange server and then the proc just sits and waits for reply for long time. Then next request sends and again it takes forever to get reply.
Here is the log:
Quote:
Trying EXSRV.MEEI.HARVARD.EDU…<-- 220 EXSRV.meei.harvard.edu Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Fri, 11 Sep 2009 17:32:19 -0400 –> EHLO interfacetest (wait upto 300 seconds)
<-- 250-EXSRV.meei.harvard.edu Hello [10.100.10.23] <-- 250-TURN <-- 250-SIZE <-- 250-ETRN <-- 250-PIPELINING <-- 250-DSN <-- 250-ENHANCEDSTATUSCODES <-- 250-8bitmime <-- 250-BINARYMIME <-- 250-CHUNKING <-- 250-VRFY <-- 250-X-EXPS GSSAPI NTLM LOGIN <-- 250-X-EXPS=LOGIN <-- 250-AUTH GSSAPI NTLM LOGIN <-- 250-AUTH=LOGIN <-- 250-X-LINK2STATE <-- 250-XEXCH50 <-- 250 OK –> MAIL FROM:<
Cloverleaf@meei.harvard.edu > SIZE=3028 (wait upto 600 seconds)<-- 250 2.1.0 Cloverleaf@meei.harvard.edu....Sender OK
–> RCPT TO:<
sergey_sevastyanov@meei.harvard.edu > (wait upto 3600 seconds)<-- 250 2.1.5
sergey_sevastyanov@meei.harvard.edu –> DATA (wait upto 300 seconds)
<-- 354 Start mail input; end with
. –> . (wait upto 120 seconds)
in all places where log shows message like “(wait upto xxx seconds)” the process is actually waiting for several minutes.
When I call my proc from hcitcl the messages in the log are the same but there is no wait time – I receive email immediately.
So in one case the proc executed under my user id (hcitcl), and other case under hciuser (hciengine.exe). I don’t know if this can make any difference.
Anyone has any ideas?
Thanks
- The forum ‘Cloverleaf’ is closed to new topics and replies.