Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sendmail - attachment

Posted on 2002-04-22
4
Medium Priority
?
6,067 Views
Last Modified: 2013-12-17
hi,

encountered a problem using sendmail to send attachment like excel spreadsheet or word documents...

have no problem attaching txt files though...

below is part of wat i have coded in the program... wat could possible went wrong?? hope someone can help me on this.... the mime version is 1.0

thanks in advance...

regards,
popster


Content-Type: application/octet-stream
     name="a.doc"
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="a.doc"
0
Comment
Question by:popster
2 Comments
 
LVL 15

Accepted Solution

by:
samri earned 300 total points
ID: 6962300
How do you send the file?

cat <filename> | uuencode <filename> | /usr/lib/sendmail user@remoteadd.domain.com

should work.

0
 
LVL 5

Assisted Solution

by:markt9
markt9 earned 300 total points
ID: 6972746
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question