Sending mail with attachment(image) using sendmail in Linux(ksh)

Hi guys,

I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment.

/usr/sbin/sendmail -t < $FilePath_mail

Could you guys help me how to change the above command to add the attachment(basically an image) to the mail.

Regards,
Kris

You can find a large number of topics related to sending email attachments here by scrolling down to the bottom of this thread.