Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sendmail - attachment

Posted on 2002-04-22
4
Medium Priority
?
6,055 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
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…

721 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