How to send multiple attachments+body

By aman.khurana ·
I am trying to send multiple attachments in a single mail with mail?s body. For that I am using following code

Uuencode $a $a > a.mail

Uuencode $b $b >> a.mail

Uuencode $c $c >> a.mail

Echo ?This is system generated mail. Please don?t reply? | Mailx ?s ?this is test mail? < a.mail

Though this code is working fine in terms of sending multiple attachments but mail?s body is not coming with mail. i.e. (This is system generated mail. Please don?t reply) is not coming in mail.. )

Tell me how to send mail?s body along with multiple attachments.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums