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 » MailPlugin Details

Post new topic  Reply to topic
 MailPlugin Details « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Thu Apr 03, 2003 6:35 am    Post subject: MailPlugin Details Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi

Using ia07 Supportpac i was trying to send mail.I just Followed all steps which is specified in pdf.

i created one message flow which specified in pdf

MQInputNode.....>SendMailPlugin.....>DataWareHouse

What are the paramerter i need to specify the SendMailPlugin??
(in pdf it is not clear)
What is the purpose of DataWareHouse Node??
What are steps i need to follow after creation of sendmailplugin??

can anyone help me out!!!
Thanks in Advance
raj
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 03, 2003 8:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Suppose you want to send an email with the following properties.
Code:
To: test@mydomain.com
From: wmqi@mydomain.com
Subject: Hello

Hi!  This message is from WMQI.


Then you need to do this:
1) Install the sendmail plugin to your configuration manager and broker. (you have done this already)
2) Create a message flow that includes the sendmail plugin
3) Configure the sendmail plugin in that message flow to know where your mailserver is. This depends on which version of the sendmail plugin you installed - the 'sendmail' version or the 'smtp' version. If you are using a broker on Windows, you only have the 'smtp' version availble.
For the SMTP version, if your mailserver was at mail.mydomain.com, and was using the standard port (25), you would put 'mail.mydomain.com' into the SMTP servername field on the SMTP tab in the properties of the sendmail plugin in your message flow.
4) Create the message that will go to the sendmail node in your plugin. This message looks like
Code:
<Message>
    <From>wmqi@mydomain.com</From>
    <To>test@mydomain.com</To>
    <Subject>Hello</Subject>
    <Body>Hi!  This message is from WMQI.</Body>
</Message>


You can create this message by either
1) putting an MQInput node directly before the sendmail plugin with the XML domain specified, and then putting the XML <Message> document onto the queue
2) Create the message in a Compute Node, like this
Code:
Set OutputRoot.XML.Message.From = 'wmqi@mydomain.com';
Set OutputRoot.XML.Message.To = 'test@mydomain.com';
Set OutputRoot.XML.Message.Subject = 'Hello';
Set OutputRoot.XML.Message.Body = 'Hi! This message is from WMQI.';
Hook up the output connector of the Compute node to the input connector of the sendmail plugin.

The Warehouse node in the sample message flow was put there to log every email that was sent out into a database. The Warehouse node is not very useful, as it only stores messages in two columns {message ID, blob message data}.
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 » MailPlugin Details
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.