Solved

sendmail - attachment

Posted on 2002-04-22
4
6,041 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create a mailbox database 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 Servers >> Data…

803 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