#1
|
|||
|
|||
Connect to mail server
Hi
we are using exchange server , and I can't send E-mails using it. I got the following error: " Connecting to SMTP server 'il-tlv-mail01.comverse.com' on port 25 VISBUILDPRO 122122 0000 INF: started process 0x7B4 trace on 09-04-2006 12:21:22 [4.50.4515] VISBUILDPRO 122122 0063 INF: gethostbyname("il-tlv-mail01.comverse.com") returned 10.115.242.87 (il-tlv-mail01.comverse.com) VISBUILDPRO 122122 0000 INF: socket(2, 1, 0) returned 1140 VISBUILDPRO 122122 0000 WRN: connect(1140, 10.115.242.87:25, 16) returned -1 [10035] VISBUILDPRO 122122 0000 INF: select(64, 0x0, 0x2f8edc4, 0x0, 30:0) returned 1 VISBUILDPRO 122122 0000 INF: select(64, 0x2f8ec7c, 0x0, 0x0, 30:0) returned 1 VISBUILDPRO 122122 0015 INF: recv(1140, 0x30d47f8, 1, 0) returned 0 VISBUILDPRO 122122 0000 INF: closesocket(1140) returned 0" any idea ??? Thanks , Mor |
#2
|
|||
|
|||
Did it never work or work at one time and then stop working? Please ZIP and send or post:
1) The info from Help | About | Install Info 2) The .bld file with the Send Mail step 3) A complete build log file with logging on the Send Mail step set to All + hex dump Thanks. |
#3
|
|||
|
|||
Hi & Thanks for the fast answer.
I just find the problem with our network guys - the mailserver name was not the correct one. Thanks , Mor |
#4
|
|||
|
|||
I would like to bump this. I have been having a mail send issue since January and I suspect it is something my IT group did but just in case...
My failure signature looks very similar. This is a VBP log of the send mail step with all+Hex dump turned on: 9/30/2013 4:32:53 PM: Building project step 'Project steps'... 9/30/2013 4:32:53 PM: Building project step 'Send Mail'... Connecting to SMTP server '131.101.1.179' on port 25 VISBUILDCMD 23A78 0000 INF: started thread 0x23A78 trace on 09-30-2013 16:32:53 Windows x86-6.1.7600 [7.2.7250.2172] VISBUILDCMD 23A78 0000 INF: getaddrinfo(0x1c2ead0 [131.101.1.179], 0x0 [], 0x1c2e7c8, 0x1c2e7c4) returned 0 VISBUILDCMD 23A78 0000 INF: socket(2, 1, 6) returned 680 VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e7ec) returned 0 VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e810) returned 0 VISBUILDCMD 23A78 0000 WRN: connect(680, 0x1c2e920 [131.101.1.179]:25, 16) returned -1 [10035] VISBUILDCMD 23A78 0000 INF: select(64, 0x0, 0x1c2e81c, 0x1c2e9a0, 0x1c2e804) returned 1 VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e810) returned 0 VISBUILDCMD 23A78 45006 INF: select(64, 0x1c2e6d8, 0x0, 0x0, 0x1c2e6d0) returned 0 VISBUILDCMD 23A78 0000 INF: closesocket(680) returned 0 Error connecting to SMTP server: The specified operation has timed out 9/30/2013 4:33:38 PM: Step 'Send Mail' failed 9/30/2013 4:33:38 PM: Build ended (elapsed = 00:00:44). Notice the return code for connect. I looked up this return code on msdn's sockets function list. WSAEWOULDBLOCK Resource temporarily unavailable. This error is returned from operations on nonblocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a nonfatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a nonblocking SOCK_STREAM socket, since some time must elapse for the connection to be established. This is the info you requested: Help about: Visual Build Professional 8.4 Registered to: Teradyne, Inc (1-computer license) Windows Version: 6.1.7600.0.0 Install path: C:\Program Files (x86)\VisBuildPro8 HideConsole.exe version 1.0.0.0 SftPrintPreview_IX86_U_20.dll version 2.04 VisBuildCmd.exe version 8.4.0.0 VisBuildPro.exe version 8.4.0.0 VisBuildAct.dll version 8.4.0.0 VisBuildCore.dll version 8.4.0.0 VisBuildDotNET.dll version 8.3.0.1 VisBuildExt.dll version 8.4.0.0 VisBuildMisc.dll version 8.4.0.0 VisBuildMS.dll version 8.4.0.0 VisBuildMS2.dll version 8.4.0.0 VisBuildNet.dll version 8.4.0.0 VisBuildSvr.dll version 8.4.0.0 VisBuildSvr.Interop.dll version 1.0.0.0 VisBuildVCS.dll version 8.4.0.0 I've noticed that the mail will never send if the bld file is launched via task scheduler. The setting "launch task even if user is not logged on" must be selected to see this behavior. When I increase the timeout, the mail sometimes sends. It is still spotty with infinite timeout set. This makes it sound like the environment I am running in but please do look this over as I am getting no where with my local IT group. Thank you. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|