Solved

sendmail - attachment

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server views 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 Access…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…

710 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