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 » Send welcome EMAIL with perticular font type and size

Post new topic  Reply to topic
 Send welcome EMAIL with perticular font type and size « View previous topic :: View next topic » 
Author Message
shantanu1621
PostPosted: Tue Apr 21, 2015 7:58 pm    Post subject: Send welcome EMAIL with perticular font type and size Reply with quote

Novice

Joined: 24 May 2013
Posts: 10

Hi
We have a requirement of sending a welcome email once a confirmation is done (similar when we and done with creation of an account on some sites). The mail is a big mail with some specifications of font type and font size for specific fields.
also I have to fetch some data from DB and put it in there in the mail.

Please suggest some best methods with which I should proceed.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 22, 2015 4:29 am    Post subject: Reply with quote

Grand High Poobah

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

Probably the same way you would proceed with any mail merge program. Do you have the codes needed to switch the font?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Apr 22, 2015 4:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The logical message tree doesn't know anything about fonts, except as elements.

If you are building a MIME document, you need to be aware that the MIME parser uses BLOB structures for individual data in MIME parts.

There's nothing different about the contents of those parts in Broker than in any other MIME document.
Back to top
View user's profile Send private message
shantanu1621
PostPosted: Wed Apr 22, 2015 10:03 pm    Post subject: Reply with quote

Novice

Joined: 24 May 2013
Posts: 10

fjb_saper wrote:
Probably the same way you would proceed with any mail merge program. Do you have the codes needed to switch the font?

Thanks for the reply fjp_saper . I dont have any code to switch the font. Also it will be very helpful if you can share some link for the reference of mail merge program
Back to top
View user's profile Send private message
shantanu1621
PostPosted: Wed Apr 22, 2015 10:34 pm    Post subject: Reply with quote

Novice

Joined: 24 May 2013
Posts: 10

mqjeff wrote:
The logical message tree doesn't know anything about fonts, except as elements.

If you are building a MIME document, you need to be aware that the MIME parser uses BLOB structures for individual data in MIME parts.

There's nothing different about the contents of those parts in Broker than in any other MIME document.


thanks for the reply
so you suggest to go with creation of MIME document and in that i can change the font size and type ?
I have not worked on MIME document so if you can suggest some link for the same it will be very helpful.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 23, 2015 5:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

shantanu1621 wrote:
mqjeff wrote:
The logical message tree doesn't know anything about fonts, except as elements.

If you are building a MIME document, you need to be aware that the MIME parser uses BLOB structures for individual data in MIME parts.

There's nothing different about the contents of those parts in Broker than in any other MIME document.


thanks for the reply
so you suggest to go with creation of MIME document and in that i can change the font size and type ?
I have not worked on MIME document so if you can suggest some link for the same it will be very helpful.


The knowledge center has some documentation on working with the MIME domain.

MIME is a published internet standard with many relevant RFCs.

Broker doesn't know anything about the actual contents of an email message, other than the structure of it. Fonts and font sizes are all part of the contents of an email message.
Back to top
View user's profile Send private message
nelson
PostPosted: Sat Apr 25, 2015 10:21 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Set the content type as HTML. For example, in ESQL:

Code:
SET = OutputLocalEnvironment.Destination.Email.BodyContentType = 'text/html';


and

Code:
SET OutputRoot.BLOB.BLOB = CAST('<PUT HERE YOUR HTML>' AS BLOB CCSID 1208);


(and all the other properties)

Be sure to escape the HTML special characters, for example &gt; instead of >.

So.... then do all your staff in the HTML (fonts, etc.)
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 » Send welcome EMAIL with perticular font type and size
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.