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 » Help regarding Mail Plugin node

Post new topic  Reply to topic
 Help regarding Mail Plugin node « View previous topic :: View next topic » 
Author Message
busy_chap
PostPosted: Mon Jun 25, 2007 12:25 pm    Post subject: Help regarding Mail Plugin node Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

Hello everybody,
I downloaded the fix pack that allows me to use the mail Plugin node. But when I checked that node , the properties only specify the information about the sender. How or where am I supposed to add the info regarding the receiever who would receive my mail?

Can anyone please give me some sample ESQL's or any kind of info that will help me work with this plugin?
Thanks in advance.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 25, 2007 12:30 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, the documentation that comes with the plugin tells you how to build the XML message that it requires, which includes the <To> tag...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Captain_EMO
PostPosted: Mon Jun 25, 2007 12:53 pm    Post subject: Reply with quote

Newbie

Joined: 08 Feb 2007
Posts: 4
Location: St. Louis, Missouri

I use the Environment tree to pass values to my e-mail compute node a la:

CREATE COMPUTE MODULE "DSL_RPK_DELIVERY_TO_BILL_Build e-mail"
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
DECLARE I INT 1;
DECLARE J INT;
SET J = CARDINALITY(Environment.Variables.Message.Body.Line[]);
SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.Properties.MessageDomain = 'XML';
SET OutputRoot.XML.Message.From = Environment.Variables.Message.From;
SET OutputRoot.XML.Message.To = Environment.Variables.Message.To;
SET OutputRoot.XML.Message.Subject = Environment.Variables.Message.Subject;
WHILE I <= J DO
SET OutputRoot.XML.Message.Body.Line[I] = Environment.Variables.Message.Body.Line[I]||' ';
SET I = I + 1;
END WHILE;
END;
END MODULE;

This compute node's out terminal is then wired up to the plug-in node.
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Jun 25, 2007 1:35 pm    Post subject: Reply with quote

Jedi

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

And so. What happens.

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
Captain_EMO
PostPosted: Thu Jun 28, 2007 1:03 pm    Post subject: Reply with quote

Newbie

Joined: 08 Feb 2007
Posts: 4
Location: St. Louis, Missouri

I get an e-mail sent out to me detailing the various exceptions raised during the compute nodes that I have in the message flow.

As you are most likely aware, using the Environment tree allows one to pass values from one node to another. So, I have the mail plug-in node set up as a subflow that can be snapped into place in other flows if needed.

I'm sure there are a million ways to do the same thing. I was hoping that the original member would see that the "to" field is just that...and XML tagged "to" field.
Back to top
View user's profile Send private message
busy_chap
PostPosted: Mon Jul 02, 2007 11:16 am    Post subject: Thanks guys. Let me try it out. Reply with quote

Acolyte

Joined: 18 May 2006
Posts: 69

Thanks guys. Let me try it out.
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 » Help regarding Mail Plugin node
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.