Sending HTML link through SMTP logic from JCL



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Sending HTML link through SMTP logic from JCL

Postby rekhamf » Sat Jan 28, 2012 12:06 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 12:23 am

Well, you've posted in the COBOL section of the forum and not the HTML or FTP sections so what have you tried so far in COBOL?
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 rekhamf » Sat Jan 28, 2012 12:27 am

I searched the Section ,not sure where to post,so posted here..
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 12:29 am

If all else fails there is an 'Other Mainframe Topics' section
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


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post