How to send a pdf files to other system via https

Hi,

I have to get the pdf files from the unix system(source system) and send the same pdf file to other system via https as well as an attachment with e-mail.

Can anybody explain the flow how to do this.

THanks for your help in advance