Email with attachment and hyperlink in the body



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Email with attachment and hyperlink in the body

Postby Papya013 » Thu Feb 16, 2017 8:55 pm

Hi Team,

I have a requirement to attach the file in the email and also need to have the hyperlink mentioned in the email.

I have tried with the code mentioned below. But the hyperlink is not being populated as expected instead its prefixed with some URL and suffixed by some URL.

Could you please correct me?

HELO ABC.COM                                                            
MAIL FROM: <abc@xyz.com>                              
RCPT TO: <pqt@xyz.com>                                
DATA                                                                    
FROM: <abc@xyz.com>                                  
TO: <pqt@xyz.com>                                    
SUBJECT: LINE REJECTIONS
MIME-Version: 1.0                                                      
Content-Type: multipart/mixed; boundary="MIME"                          
                                                                       
--MIME                                                                  
Content-Type: text/plain; charset=us-ascii                              
Content-Transfer-Encoding: 7bit                                        
                                                                       
Hi,                                                                    
Please refer the attached file for details.            
                                                                       
http://www.xyz.com
                                                                       
Regards,                                                                
Balesh.                                                      
Content-Type: text/plain;                                  
Content-Disposition: attachment; filename="xyz.txt"  
                                                           

******************************** Bottom of Data ****************************************************
Papya013
 
Posts: 23
Joined: Wed Nov 06, 2013 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Email with attachment and hyperlink in the body

 

Re: Email with attachment and hyperlink in the body

Postby vasanthz » Fri Feb 17, 2017 12:27 am

prefixed with some URL and suffixed by some URL.

So what gets prefixed and suffixed to the URL?
An input and output of the problem would help.

I suspect that your organization email prefixes and suffixes stuff into links on email, to prevent spear phishing attacks.
User avatar
vasanthz
 
Posts: 15
Joined: Thu Aug 05, 2010 2:53 pm
Has thanked: 2 times
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post