SendMessage Returns -1 AND error 10054

Discussion forum for Enterprise Edition.
Post Reply
moegal
Posts: 118
Joined: Mon Feb 09, 2004 10:30 pm

SendMessage Returns -1 AND error 10054

Post by moegal »

I am using the COM component in asp.

Code: Select all

oMailResult = oMail.SendMessage
If oMailResult <> 0 Then
SendErrorTextResponse = True
End If
Only the success return value seems to be -1

The docs say "Send the email that has been configured with the options. The function will return zero for failure and number greater than zero for success."

But the biggger problem is that I show some e-mails being sent and they never are being sent.

The COM Component is on a remote server but 9 times out of 10 it works so I know all of my settings are correct.

Yesterday, I had a message send and the logs show the following:

Debug:
10/20/11 14:35:15 ME-E0069: (recv) socket [740] disconnection from host xxx.xxx.xxx.xxx before any command received. Error: (10054)
10/20/11 14:35:15 ME-I0074: [740] (Debug) End of conversation

Activity:
10/20/11 14:35:15 SMTP-IN 007CD5EEA36A4BF0BD8A10E603C5BAD7.MAI 740 xxx.xxx.xxx.xxx 220 mydomain.com ready at 10/20/11 14:35:15 0 0

Just a few minutes later I had a similar event but it was processed normally.

Debug:
10/20/11 14:40:27 ME-I0107: [1152] Relay Granted: Sender IP (xxx.xxx.xxx.xxx) is within an authorized IP range.
10/20/11 14:40:27 ME-I0101: [1152] Local Delivery: Address ([SMTP:info@mydomain.com]) is local.
10/20/11 14:40:27 ME-I0107: [1152] Relay Granted: Sender IP (xxx.xxx.xxx.xxx) is within an authorized IP range.
10/20/11 14:40:27 ME-I0149: [1152] 2C0520ACB7CD4B1DB7BEF80D46EAAB2B.MAI was received successfully and delivery thread was initiated
10/20/11 14:40:27 ME-I0074: [1152] (Debug) End of conversation

Same sender and same recipient.

Please help.

Marty

Post Reply