Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to send email with attachment?

0
Posted

How to send email with attachment?

0

I believe the above example only works for text attachments and will not work binary attachments. To send a binary file (example.tgz) you should base64 encode the file. Play around with the uuencode and uudecode commands. I have a script that base64 encodes the file and sends it via e-mail. On the client side you need to save the base64 encoded message and then unbase64 encode the message. Michael.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123