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 » Sending EMail with EmailNode: header ccsid

Post new topic  Reply to topic
 Sending EMail with EmailNode: header ccsid « View previous topic :: View next topic » 
Author Message
gisly
PostPosted: Wed Oct 31, 2012 1:44 am    Post subject: Sending EMail with EmailNode: header ccsid Reply with quote

Apprentice

Joined: 10 May 2012
Posts: 29

Hi!
I have got a problem sending email using the EmailOutputNode. The topic and body of the message are both supposed to contain Russian characters so I set UTF-8 ccsid as follows (all the references to inputRef etc are correct):
Code:
SET OutputRoot.EmailOutputHeader.To=inputRef.Email;
SET OutputRoot.EmailOutputHeader.Subject=inputRef.Subject;
SET OutputRoot.EmailOutputHeader.From=fromEmail;
SET OutputRoot.BLOB.BLOB = CAST(inputRef.MessageBody AS BLOB CCSID 1208);
SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/html; charset=utf-8'


When I use a public Russian SMTP-server, the message and the topic are both displayed correctly, but when I use a Lotus Sever, the message is displayed correctly, but the topic is displayed in a wrong way: =?UTF8?B?0KDQtdGI0LXQvdC40LUg0L/QviDQt9Cw0Y/QstC60LUg4oSW?= =?UTF8?B?IFRFU1RFVFNTLiDQntC00L7QsdGA0LXQvdC40LU=?=

(by "displayed" I mean displayed in standard viewers such as Outlook).

Is it possible to somehow tell the server it should parse the message topic as UTF-8, too?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 31, 2012 5:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I would take an SMTP traffic trace of the message that leaves the Broker server.

If that actually contains the correct data and the correct MIME structure and character identifiers, then the issue is with how the Lotus Server is interpreting it or in how the client that is reading the message is displaying it. First thing is to confirm that your Notes server and Notes clients support UTF-8 subject lines.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Oct 31, 2012 6:41 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:
First thing is to confirm that your Notes server and Notes clients support UTF-8 subject lines.


Notes does support Russian Characters (as I know to my cost when trying to write a message using a keyboard that does not show cryllic).
This makes me wonder if the actual notes server you are talking to has been configured to allow UTF-8.
As has been suggested see the actual bitstream that is being sent to notes. Then you can decide where the problem lies.
_________________
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
View user's profile Send private message
gisly
PostPosted: Thu Nov 22, 2012 11:59 pm    Post subject: Reply with quote

Apprentice

Joined: 10 May 2012
Posts: 29

Thanks for your replies

In fact, the problem is now as follows: the email sent is displayed correctly in gmail client etc., but the subject line is garbled in the LotusNotes client. It looks as if the LotusNotes client could not parse the actual subject line:
=?UTF8?Q?Application_=E2=84=96_TESTIROVANE._Approval?=

Perhaps you may know where the problem lies (something concerning LotusNotes configuration)
Back to top
View user's profile Send private message
gisly
PostPosted: Mon Dec 03, 2012 5:21 am    Post subject: Reply with quote

Apprentice

Joined: 10 May 2012
Posts: 29

Just in case someone else runs accross the same problem with message headers:
we didn't manage to somehow changed Lotus Configuration, so we ended up writing a Java class handling all this email stuff, specifying utf-8 for both header and message, and it works now, at least with Lotus and free smtp-servers/web-clients
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 » Sending EMail with EmailNode: header ccsid
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.