Hi omarfarid,
Thanks for your Quick Reply... Here i need to specify From address also externally... will you please suggest me the step.
Main Topics
Browse All TopicsExperts,
Am having Sendmail installed on SunOS... Am able to attach and email Plain/Text file
But when i tried to attach & send Excel sheet using my script. am receiving excel sheet. when i download and open Ooops the file is in unrecognized format.....
I tried Content-type as application/vnd.excel
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
you may download and install from sunfreeware.com:\
http://sunfreeware.com/pro
ftp://ftp.sunfreeware.com/
The provided links are for solaris 10. Please note that you may need to install additional s/w, please see dependencies in the provided link.
Once downloaded, run
gunzip mutt-1.5.18-sol10-sparc-lo
pkgadd -d mutt-1.5.18-sol10-sparc-lo
yes i ftped in binary mode...
Here i made some modification to my code
Please see the code Snippet...
am using encoding technique as X-UUencode
am able to receive my proper excel sheet in my IBM Lotus Mail Client, but not with gmail...
when i opened with gmail its showing some junk charecters...
i found that gmails and most of the mail-exchanges are using base64 type encoding....
do you know how to convert our files from binary to base64?...
uuencode has th -m option which according to man page:
" -m Encodes source-file using Base64 encoding and sends it to standard output."
I used it and sent file to gmail and faced same problem. hotmail rejected my message and could not verify, however I tried it with some other mail system and it was received properly.
I think the problem is with gmail and not with uuencode since it is widely used on unix and linux to encode attachments. Please see:
http://groups.google.com/g
http://markmail.org/messag
http://fixunix.com/sco/904
http://www.velocityreviews
Business Accounts
Answer for Membership
by: omarfaridPosted on 2009-02-24 at 12:04:09ID: 23725732
you run uuencode on the file, e.g.
uuencode myfile.xls < myfile.xls | sendmail username@domain