Page 1 of 1

How to send html format in mail from MF.

PostPosted: Tue Nov 06, 2012 10:19 am
by gokulNmf
Hi,

I want to send mail from MF, but i want send it with tables, so I thought of sending with HTML tags so that it has to be resolved when the recipient sees it, he must see the tables.

Please find the attachment which has the table.

Re: How to send html format in mail from MF.

PostPosted: Tue Nov 06, 2012 11:27 am
by Pandora-Box
What you need to do is use XML to build the tags based on values and use IEBGENER

If you are not sure how to build XML to create that

Create a similar table in MS word then do a right click to view source

You would get the tag format of table use that as input and modify the values dynamically through some program

Re: How to send html format in mail from MF.

PostPosted: Tue Nov 06, 2012 3:54 pm
by gokulNmf
Hi prem,
Thanks for the reply. I can create the HTML document, but while sending mail, them mail must not have the html tags, rather it must look like the html file in an browser.

Re: How to send html format in mail from MF.

PostPosted: Tue Nov 06, 2012 4:12 pm
by Pandora-Box
If you just create a document as such and mail using IEBGENER you get what you need

Just to make you understand I would ask you to try it

Your mail wont have any tags

Re: How to send html format in mail from MF.

PostPosted: Tue Nov 06, 2012 5:29 pm
by Robert Sample
when the recipient sees it, he must see the tables.
This is complete and utter garbage. Whether or not the recipient will see the tables will depend upon the mail client the recipient is using. If the mail client does not support HTML, or if the mail client is configured for plain text instead of HTML, you can send HTML (or XML or RTF or anything else you want to send) but the recipient will not see tables.

There is nothing to prevent you from creating HTML on a mainframe and sending it in an email as long as you follow the SMTP rules. Whether or not that email will be seen as HTML, however, is beyond your control and depends upon the mail client.