Page 1 of 1

Sending HTML link through SMTP logic from JCL

PostPosted: Sat Jan 28, 2012 4:05 am
by rekhamf
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 ?

Re: Sending HTML link through SMTP logic from JCL

PostPosted: Sat Jan 28, 2012 10:50 pm
by NicC
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.

Re: Sending HTML link through SMTP logic from JCL

PostPosted: Wed Feb 01, 2012 6:11 pm
by Robert Sample
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.