Author |
Message
|
mqjourneyman |
Posted: Wed Aug 29, 2007 12:40 pm Post subject: SendMailPlugin giving TCP/IP error |
|
|
Newbie
Joined: 29 Aug 2007 Posts: 2
|
Hi Everyone,
My environment is:
MQ 6.0
MB 6.0.2
Windows XP
Problem Description:
I have installed the sendmailplugin and have created the following message flow: MQinput->Compute->SendMailPlugin->MQOutput
Following is the trace file just before the plugin node:
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-08-29 20:30:47.480'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'in'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 437
(0x03000000):Format = ' '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d51206c6f6e646f6e202020202020d38cd5462000ac1a'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'london '
(0x03000000):UserIdentifier = 'db2admin'
(0x03000000):AccountingToken = X'160105150000006de58849935e527862884f19ed03000000000000000000000b'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 11
(0x03000000):PutApplName = 'ffice_Stuff\ih03\rfhutil.exe'
(0x03000000):PutDate = DATE '2007-08-29'
(0x03000000):PutTime = GMTTIME '20:30:47.480'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):Message = (
(0x01000000):From = (
(0x02000000): = 'xyz@abc.com'
)
(0x01000000):To = (
(0x02000000): = 'xyz@abc.com'
)
(0x01000000):Cc = (
(0x02000000): = ''
)
(0x01000000):Bcc = (
(0x02000000): = ''
)
(0x01000000):Subject = (
(0x02000000): = 'Error in Interface'
)
(0x01000000):Body = (
(0x02000000): = 'klqdnlksqnvklqmsvnqlkvbqlkbvdlqkbvlqvbqlsvbqlsfvblqsvb'
)
)
)
)
Following is the failure that i get:
<Message>
<From>xyz@abc.com</From>
<To>xyz@abc.com</To>
<Cc></Cc>
<Bcc></Bcc>
<Subject>Error in Interface</Subject>
<Body>klqdnlksqnvklqmsvnqlkvbqlkbvdlqkbvlqvbqlsvbqlsfvblqsvb</Body>
<SendMailError>TCP/IP error</SendMailError>
</Message>
I have checked with the mail admin and have given the correct SMTP mail server ip address and the port number.
I have used this plug in successfully before, but cannot seem to get it working now.
Any suggestions would be greatly appreciated.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 29, 2007 12:47 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Can you telnet to the SMTP server from the broker machine, using information the mail admin has given you?
Are you using the SMTP version of the sendmail plugin, and setting stuff on the SMTP preferences panel? Or did you accidentally install the sendmail version of the sendmail plugin... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqjourneyman |
Posted: Wed Aug 29, 2007 1:12 pm Post subject: |
|
|
Newbie
Joined: 29 Aug 2007 Posts: 2
|
Hi,
I have installed the IA07 support pack from the following address:
http://www-1.ibm.com/support/docview.wss?uid=swg24000600
I have included the .lil file in the following folders:
C:\Program Files\IBM\MQSI\6.0\bin and C:\Program Files\IBM\MQSI\6.0\jplugin
I have included the plugin node into the toolkit following the procedure given in the IA07.pdf file. I think i have installed the correct version for SMTP.
I do seem to however have a problem with the telnet command.
I am not able to connect to the mail server using this command.
I checked with the mail admin, but he is not sure how to get around this problem.
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 29, 2007 1:15 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you can't telnet to the mailserver host and port ("telnet hostname port#") from the broker machine, then the sendmail node won't be able to establish an SMTP connection to the mailserver. And you'll get a TCP/IP error...
This is a network issue, not a Broker issue or a Mail Server issue.
You need to talk to your network people. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jsware |
Posted: Fri Aug 31, 2007 5:23 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
mqjourneyman wrote: |
I do seem to however have a problem with the telnet command.
I am not able to connect to the mail server using this command.
I checked with the mail admin, but he is not sure how to get around this problem. |
When you try doing "telnet hostname portnum" what error do you get? Does it give you connection refused or something else? _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
Jenney |
Posted: Wed Mar 19, 2008 10:14 am Post subject: |
|
|
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
|
Hi All,
I have similar problem, initially i got tcp/ip error and message will comeup through failure terminal.
I contacted the mail server admin and now it seems message goes directly to failure terminal and i am getting following error, which i don't know what it means.
SendMailError = 503 5.5.2 Need Rcpt command.\r\n
Any idea what it means and what i should do?
Thanks
Jen |
|
Back to top |
|
 |
|