Author |
Message
|
shantanu1621 |
Posted: Tue Apr 21, 2015 7:58 pm Post subject: Send welcome EMAIL with perticular font type and size |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Apr 22, 2015 4:29 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Wed Apr 22, 2015 4:40 am Post subject: |
|
|
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 |
|
 |
shantanu1621 |
Posted: Wed Apr 22, 2015 10:03 pm Post subject: |
|
|
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 |
|
 |
shantanu1621 |
Posted: Wed Apr 22, 2015 10:34 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Apr 23, 2015 5:03 am Post subject: |
|
|
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 |
|
 |
nelson |
Posted: Sat Apr 25, 2015 10:21 am Post subject: |
|
|
 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 > instead of >.
So.... then do all your staff in the HTML (fonts, etc.) |
|
Back to top |
|
 |
|