C Programming

Hiiiiii Friends,

I created this blog to share my knowledge. Whenever i find something Interesting, i post it so that everyone may know about this.
If you like my posts then tell your friends and spread the knowledge.

Tuesday, July 17, 2012

Attachment using sendmail in Linux

sendmail is one of the famous tool to send emails in Linux environment, but it does not have no direct option to send attachments.
To send attachment in email you can use MIME, its header allows us to send attachments. So first you need to generate a text file that contains email information as defined in MIME standard and later use this file as an input to sendmail, you will get your problem solved.

No comments:

Post a Comment