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 » EmailOutput - wmb 7

Post new topic  Reply to topic
 EmailOutput - wmb 7 « View previous topic :: View next topic » 
Author Message
pvsp
PostPosted: Mon Aug 29, 2011 5:12 am    Post subject: EmailOutput - wmb 7 Reply with quote

Apprentice

Joined: 17 Feb 2008
Posts: 36
Location: Warsaw, PL

Hi,

I've read about Email Output node (http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ac66340_.htm?resultof=%22%65%6d%61%69%6c%22%20%22%6f%75%74%70%75%74%22%20) and I don't see the way to have possibility to send email with polish characters using Email Output node. Is it possible to set up some local enviroments or sth else ? At this time, the only way I can see is write custom java compute node where I can use java mail api.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 29, 2011 5:18 am    Post subject: Re: EmailOutput - wmb 7 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pvsp wrote:
I don't see the way to have possibility to send email with polish characters using Email Output node.


Why not? I don't see anything in the description which would preclude this?

pvsp wrote:
Is it possible to set up some local enviroments or sth else ?


What??
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 29, 2011 5:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Of course, if either your receipient or your mail server don't support Polish then yes, you're going to hit problems but I would imagine you're going to hit those problems in the Java Mail API under those circumstances....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Aug 29, 2011 5:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

I tried the Swedish Code Page once, and it seemed to work for me.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
pvsp
PostPosted: Mon Aug 29, 2011 5:42 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2008
Posts: 36
Location: Warsaw, PL

I created very simple message flow.

First, I have Compute Node where I set subject and mesage body like below:

SET OutputRoot.EmailOutputHeader.Subject = 'ĄŻĆ';
SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/html; charset=ISO-8859-2';
SET OutputRoot.BLOB.BLOB = CAST('This is the new text: ążćź' AS BLOB CCSID 1208);

and I sent this using Email Output. After thatr, I received mail where

subject is '=like '???' and message body is like This is the new text: ????
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 29, 2011 5:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Why have you set the BodyContentType to 8859, then coded the content as 1208?

And does the mail server support Polish characters? Does it require any specific header information to do so? What is whatever you're receiving the email with think of Polish characters? Is the email sent correctly but rendered improperly on receipt?

Does it work if you send via Java?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 29, 2011 5:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

pvsp wrote:
I created very simple message flow.

First, I have Compute Node where I set subject and mesage body like below:

SET OutputRoot.EmailOutputHeader.Subject = 'ĄŻĆ';
SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/html; charset=ISO-8859-2';
SET OutputRoot.BLOB.BLOB = CAST('This is the new text: ążćź' AS BLOB CCSID 1208);

and I sent this using Email Output. After thatr, I received mail where

subject is '=like '???' and message body is like This is the new text: ????

What do you expect?
You set the body content type charset to ISO-8859-2 and you set the content to UTF-8 . Quite different entirely from setting the content type charset to UTF-8 and setting the content to UTF-8 .

At the same time you are setting the subject to 'ĄŻĆ'. Do you know how to indicate to the mailing program what the ccsid of the subject is?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Aug 29, 2011 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Use the MIME domain.
Back to top
View user's profile Send private message
pvsp
PostPosted: Tue Aug 30, 2011 1:28 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2008
Posts: 36
Location: Warsaw, PL

thx, I did it but I'm not sure it is the best solution, but it works good.

I 've set my email subject like below:

SET OutputRoot.EmailOutputHeader.Subject = 'Subject: Building fa=?ISO-8859-2?Q?=B1ade?=';
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 » EmailOutput - wmb 7
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.