Page 1 of 1

Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 12:12 pm
by deva_048
Hi,

I have implemented to send a message from mainframe to particular receipients. Message contents are displayed in normal text. Is it possible to send the contents of the dataset in html format to receipients.

Below code sending message in normal text
%XMITIP (aaa_bbb@xxx.com)                                  + 
 SUBJECT Subject:  &DATE &DAY TIME: &TIME'         +               
 MSGDD MSG                                                            +
 FORMAT HTML/w-blu//4//YES///                                           


Thanks in advance

Re: Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 2:05 pm
by prino
Yes/No questions deserve a yes/no answer: Yes

A for what it's worth, you could even send it in hieroglyphs!

Re: Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 8:21 pm
by deva_048
If yes , Please tell me how to do that...

Re: Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 8:41 pm
by Robert Sample
There is nothing on the mainframe to help you -- you hand-code in your program the HTML beginning and ending tags you want and write them as part of your message.

Re: Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 8:56 pm
by deva_048
I can able to write HTML codes. But where to put those html tags in above mentioned code this is wat my question here ???...

Re: Mail Message contents should be in HTML format

PostPosted: Tue May 28, 2013 9:17 pm
by Robert Sample
Although I do not use XMITIP, I would suspect that you need to modify the contents of the data set pointed to by DD name MSG based upon your original post.