Sending HTML link through SMTP logic from JCL



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Sending HTML link through SMTP logic from JCL

Postby rekhamf » Sat Jan 28, 2012 4:05 am

Hi

As per my requirement, once i created the file it will be stored in the FTP server .I need to send the link as email notifciation
once they receive the email and if they click on link ,it will go to that server .

I have code as like below :


HELO SMTP                   
MAIL FROM: <xxx@xx.com>
RCPT TO: <aaa@aaa.com>
DATA                           
TO: <aaa@aaa.com>

SUBJECT: REPORT link -FTP LOCATION
PLEASE FIND THE BELOW LINK TO VIEW THE REPORT. 
ftp://bbb.bbb.com



i need to show this as link when it send in email , please let me know how should i give in this code ? like HTML<> something ?
rekhamf
 
Posts: 33
Joined: Mon Nov 28, 2011 5:09 am
Has thanked: 0 time
Been thanked: 0 time

Re: Sending HTML link through SMTP logic from JCL

Postby NicC » Sat Jan 28, 2012 10:50 pm

And what has this to do with TSO/ISPF?
Why have you posted this twice in the same forum?
In your other posting - in the COBOL section - you said you posted there because you did not know where to post. I replied that you should therefore post in the Other Topics section. What did you do? You posted here.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Sending HTML link through SMTP logic from JCL

Postby Robert Sample » Wed Feb 01, 2012 6:11 pm

Be aware that no matter what you send in SMTP, the way it is handled depends upon your mail client -- and there's nothing you can do, generally, on the mainframe to change that. If your mail client processes URLs as links, then that's what will show up. If not, the URL will be plain text. You need to spend some time reading your mail client documentation, instead of posting repetitive and misplaced questions on a forum.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post