ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » sendmail plugin problem

Post new topic  Reply to topic
 sendmail plugin problem « View previous topic :: View next topic » 
Author Message
spider
PostPosted: Mon Nov 27, 2006 4:59 am    Post subject: sendmail plugin problem Reply with quote

Novice

Joined: 19 Feb 2006
Posts: 23

Hi,

Am using the sendmail plugin in redhat linux to send a mail using a smtp server available on the local network.

In the properties of the node, only the smtp server name and port are set. The ESQL code is as follows:

SET OutputRoot.XML."Message".From = 'Admin@broker.com';
SET OutputRoot.XML."Message".To = 'abc@xyz.com';
SET OutputRoot.XML."Message".Subject = 'test;

The problem is that the I'm not getting any errors and its not going to any failure queue's also, but the mail is not being sent. But when the flow reached the sendmail node, it takes a lot of time to complete. I realized this after i put MQOutput nodes before and after the sendmail node. The MQOutput prior to sendmail gets the message but the MQOutput after the sendmail gets it only after a while. Its taking too much time on this node.

Any idea!!

Thanks in advance...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 27, 2006 6:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If the sendmail node isn't returning any errors, and the mail isn't being delivered, that means the mail was accepted for delivery by the mail server and the mail server is unable to deliver it.

You should first make sure that you really aren't getting back anything that remotely looks like an error in the message tree from the sendmail node.

Then you should look at the mail server logs.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
spider
PostPosted: Mon Nov 27, 2006 6:44 am    Post subject: Reply with quote

Novice

Joined: 19 Feb 2006
Posts: 23

Hi,

I checked the msg. Its the same that went as input to the sendmail node.

Moreover, i tried sending the same content with the same from and to address to the same smtp server thru a small java prog. It worked..

But its jus not working from the broker.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 27, 2006 6:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So you have established that you can build a program using completely different technology (the sendmail node is C, not Java) that, when run from a completely different machine and under a completely different userid, is able to send what you think is an identical email message.

Start with the mail server logs. Make sure you see that the sendmail node is connecting to the mail server at all. Then, if you are, see if the message is being dropped or is undeliverable for some reason.

Or start by enabling trace on the message flow and seeing what's going on there.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Nov 27, 2006 11:20 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

A delay in the SendMail node could be due to a DNS resolution issue.

Also, you did install the SMTP lil, didn't you.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » sendmail plugin problem
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.