Solved

sendmail - attachment

Posted on 2002-04-22
4
6,043 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
4 Comments
 
LVL 15

Accepted Solution

by:
samri earned 75 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 75 total points
ID: 6972746
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Automapping, a wonderful feature with Exchange 2010 (SP2 onwards I believe), allows additional/Shared mailboxes that a user has access to be automatically mapped on Outlook client, simplifying the process by adding them while Outlook launches. Ho…
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

685 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