Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sending RTF mail from mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Thu Mar 12, 2009 12:23 pm    Post subject: Sending RTF mail from mainframe
Reply with quote

Hello,

With reference to the post on this link,

I tried to send a RTF mail from mainframe.
What happened is ? i got the RTF tags sent to me as a message from mainframe.
MS Outlook, Instead of using the tags to display the message. It showed me the tags. Because, it is sent as a message from mainframe. I thought i will use the tags.

The mail which came from mainframe is a PLAIN TEXT mail. Is there any options/parameter
of sending a mail as a rich text.

Can you guyz suggest me a procedure ? for doing so.......
How does this work ?

This is my JCL,
Code:
 //HXSULLA  JOB (T,TEST),'SUSHANTH-LLOYDS',MSGCLASS=X,CLASS=B,
//      NOTIFY=HXSULL
//********************* COMMENTS *********************************
//**    MAIL MF                                                ***
//**                                                           ***
//****************************************************************
//*....................................................................
//BLD$CARD EXEC PGM=BLD$CARD,COND=(4,LT),                 * EMAIL1 CARD
//         PARM=('TO= XME,SUSHANTH BOBBY \',
//         'FROM= XME,MEERA RAJ \',
//         'DESCRIPTION= TESTING ')
//CONTROL  DD  DSN=&&LABEL1,DISP=(,PASS),
//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=27920),
//             UNIT=VIO,SPACE=(TRK,(1,1))
//SYSOUT   DD  SYSOUT=*
//*....................................................................
//*********************************************************************
//*    SEND EMAIL TO PLAN ADMIN LOAD SUPPORT IF FILE NOT EMPTY
//*********************************************************************
//TSOSTEP  EXEC PGM=IKJEFT01,PARM='%EMAILBAT'
//SYSUADS  DD  DISP=SHR,DSN=SYS1.UADS
//SYSEXEC  DD  DISP=SHR,DSN=NLV1.EXECLIB
//SYSABEND DD  SYSOUT=*
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  DUMMY
//LABEL    DD  DSN=&&LABEL1,DISP=(OLD,DELETE)
//INFILE   DD  DSN=HXSULL.EMAIL.TEST,         <------RTF TAGs
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST1,                  <------Message
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST2,                  <------RTF Tags
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST3,                  <------Message
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST4,
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST5,
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST6,
//             DISP=SHR
//         DD  DSN=HXSULL.EMAIL.TEST7,
//             DISP=SHR
//ATTACH1  DD  DSN=HXSULL.QUERY.TEST,
//             DISP=SHR
//**********************************************************************


This is mail message i got from mainframe,
Code:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl
{\f0\fswiss\fprq2\fcharset0 Century Gothic;} {\f1\fswiss\fcharset0 Arial;} {\f2\froman\fprq2\fcharset0 Palatino Linotype;} {\f3\froman\fprq2\fcharset0 Baskerville Old Face;}} {\*\generator Msftedit 5.41.15.1507;} \viewkind4\uc1\pard\ul\f0\fs60 HEADING \par \ulnone\b\f1\fs20\par
\f2\fs26
Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages **\par Messages ** Messages ** Messages ** Messages ** Messages ** \f3\fs30  \line\line\f2 Thank You, \b0\i\fs40\par
\fs26
Sushanth Bobby
\par
}



Thank You In Advance,
Sushanth Bobby
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Mar 12, 2009 1:20 pm    Post subject:
Reply with quote

You should send it as an attachemt, suffixed by RTF.

O.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Thu Mar 12, 2009 1:37 pm    Post subject:
Reply with quote

O,

By default the attachment comes as a text file(ATTACH.txt). How to suffix it with RTF ? when sending the mail.

Sushanth
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Thu Mar 12, 2009 9:17 pm    Post subject: Reply to: SENDing RTF mail from mainframe
Reply with quote

What does your %EMAILBAT program do?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Mar 13, 2009 10:27 am    Post subject:
Reply with quote

Pedro,

That is a REXX program we use to send emails from mainframe in our shop.

Sushanth
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Sat Mar 14, 2009 3:51 pm    Post subject:
Reply with quote

Hi guyz,

I asked my SUPPORT TEAM regarding the suffix for the attachment, is there something like an additional parameter where we can specify the EXTension of the attachement file.
SUPPORT TEAM said that attachement only come in .TXT format in our shop.

Thank You,
Sushanth Bobby
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Sat Mar 14, 2009 9:15 pm    Post subject: Reply to: SENDing RTF mail from mainframe
Reply with quote

Quote:
SUPPORT TEAM said that attachement only come in .TXT format in our shop.

That is not normal. I thought it used the suffix of the dataset being sent.

If you have a requirement, your support team should be able to oblige.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sat Mar 14, 2009 10:34 pm    Post subject:
Reply with quote

You can send it as an attached TXT file, and in your PC, rename it to RTF.

O.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Sun Mar 15, 2009 10:18 pm    Post subject:
Reply with quote

O,
That is exactly the samething my support team suggested.

Thank You,
Sushanth Bobby
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Mar 15, 2009 10:51 pm    Post subject:
Reply with quote

You might want to ask them for the meaning of the word "Support" in their name :-)

O.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 15, 2009 11:44 pm    Post subject: Reply to: SENDing RTF mail from mainframe
Reply with quote

Many places have excellent support groups, so the following is not universal.

Unfortunately, at some of the places i find myself, "support" is where one goes and is told why something cannot be done (as one has already discovered it doesn't do what is desired).

And fwiw - "it can't be done" almost always translates to "we don't know how". . . icon_wink.gif

d
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Mon Mar 16, 2009 9:33 pm    Post subject: Reply to: Sending RTF mail from mainframe
Reply with quote

Quote:
What does your %EMAILBAT program do?

I guess my real question was: what command or program is issued to send emails?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Mon Mar 16, 2009 10:00 pm    Post subject:
Reply with quote

I belong to Support team, So i will offer some support icon_biggrin.gif

We offer premium services so send the cash to my paypal account..he he he... icon_biggrin.gif (e-addr removed@gmail.com)

U can try this..

Code:
HELO TMVSC.TSL                                           
MAIL FROM:<MAINFRAME@TXXXX.COM>                         
RCPT TO: <VASANTH.SHANMUGAM@UK.TXXXX.COM>               
DATA                                                     
FROM:     MAINFRAME                                     
TO:         DENVER SUPPORT                                 
SUBJECT: HIGHLY CONFIDENTIAL DATA                                     
MIME-VERSION: 1.0;                                       
CONTENT-TYPE: TEXT/RICH TEXT;                           
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=TIMINGS.RTF



<<<<<RTF TAGS AND THE REST OF THE EMAIL COMES HERE>>>>>>>

U can use the name TIMINGS.RTF or anything.doc icon_biggrin.gif
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Tue Mar 17, 2009 3:58 pm    Post subject:
Reply with quote

Pedro,

Quote:
what command or program is issued to send emails?

JCL sends the mailing address, message & attachment to a REXX program, which takes care of the mailing process. I don't have access to the REXX program.

Sushanth
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Tue Mar 17, 2009 9:08 pm    Post subject: Reply to: Sending RTF mail from mainframe
Reply with quote

Its hard to debug a 'black box' program.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Developer requirement in Ku... capricorn Mainframe Jobs 0 Sun Oct 23, 2016 3:49 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Admin Openings with CTS enikhilk Mainframe Jobs 0 Tue Sep 13, 2016 10:13 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us