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 » 0D0A not recognized while sending email

Post new topic  Reply to topic
 0D0A not recognized while sending email « View previous topic :: View next topic » 
Author Message
terminator_xyz
PostPosted: Wed Jul 30, 2014 1:01 pm    Post subject: 0D0A not recognized while sending email Reply with quote

Novice

Joined: 29 Jul 2014
Posts: 15

Hi. I know below topic was discussed many times. But all my efforts were not fruitful, hence writing this:

DECLARE crlf CHAR CAST(CAST(X'0D0A' AS BLOB) AS CHAR CCSID 1208);

DECLARE messageBody CHAR 'Module Name - ' || Error.ModuleName || crlf;
SET messageBody = messageBody || 'Catalog - ' || Error.Catalog || crlf;

SET OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/html';
SET OutputRoot.BLOB.BLOB = CAST(messageBody AS BLOB CCSID 1208);

Below code never generated an email with cr lf for after each message. Should i correct anything here?

also, does smtp has any validation to suppress crlf ?

Even below also not result successful message
DECLARE crlf CHAR CAST( x'0D0A' AS CHAR CCSID 1208);
Back to top
View user's profile Send private message
ghoshly
PostPosted: Thu Jul 31, 2014 2:02 am    Post subject: Hint .. Reply with quote

Partisan

Joined: 10 Jan 2008
Posts: 333

Hint ..

You can concatenate two BLOB also using '||'
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 » 0D0A not recognized while sending email
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.