|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SendMailPlugIn 'From' field setting from input message |
« View previous topic :: View next topic » |
Author |
Message
|
jdevassy |
Posted: Mon Aug 08, 2011 6:35 pm Post subject: SendMailPlugIn 'From' field setting from input message |
|
|
Apprentice
Joined: 16 Oct 2005 Posts: 37 Location: Melbourne, Australia
|
Hi,
We are using MB 6.0.008 and I have a requirement to receive and send mails out. I have installed the SendMailPlugIn to test this on a Windows pc and works OK with the From name set on the node itself. The 'To' property is taken from the XML test input message.
1. It gives me an error if I dont set the 'Name of the 'from' person' on SMTP property tab.
2. How can I get the node to read(dynamically) the From details from the message, rather than the node itself? Can I set something in the LocalEnvironment and make node property over write?
3. Is there any documentation other than what is in the IA07 supportpac?
thanks for your help in advance.
Joy Devassy |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Aug 08, 2011 9:13 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
V6.0.0.8 is out of support so V7.0.0.2 is the answer you your problems.
Even V6.1 will help.
IA07 is a support PAck so there is not other documentation
Have you looked at other posts in this forum?
How about this one?
http://www.mqseries.net/phpBB/viewtopic.php?p=194390 _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
jdevassy |
Posted: Tue Aug 09, 2011 2:26 am Post subject: |
|
|
Apprentice
Joined: 16 Oct 2005 Posts: 37 Location: Melbourne, Australia
|
thanks for the reply.
I was able to send mail just with details from the input message by giving blank on SMTP sender properties.
But it does not give an option of a dispplay name(In the Inbox it displays the first part - before '@' of the To field).
jd |
|
Back to top |
|
 |
mqsiuser |
Posted: Sat Aug 13, 2011 8:45 am Post subject: Re: SendMailPlugIn 'From' field setting from input message |
|
|
 Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
|
jdevassy wrote: |
2. How can I get the node to read(dynamically) the From details from the message, rather than the node itself? Can I set something in the LocalEnvironment and make node property over write?
|
It is not in the LocalEnvironment where you have to put this information. It is within the message-body (I guess it is documented in the pdf, which is included in the support pack... you should read that!)
I have set dynamically various properties for the send mail plug in:
Code: |
CALL CopyMessageHeaders();
SET OutputRoot.MQMD.CodedCharSetId = 1208; -- Unicode!
SET OutputRoot.XML.Message.From = [...];
SET OutputRoot.XML.Message.To = [...];
SET OutputRoot.XML.Message.Cc = [...];
SET OutputRoot.XML.Message.Bcc = [...];
SET OutputRoot.XML.Message.Subject = [...]; |
_________________ Just use REFERENCEs |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|