![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with uuencode | rjsha1 | Shell Programming and Scripting | 9 | 04-29-2009 08:15 AM |
| uuencode/mailx | ocelot | Shell Programming and Scripting | 1 | 01-11-2008 08:28 AM |
| Problem with uuencode | markms | Shell Programming and Scripting | 0 | 04-07-2006 12:13 PM |
| Uuencode problem in mail attachment | mvalonso | UNIX for Dummies Questions & Answers | 8 | 03-16-2006 01:38 PM |
| mailx and uuencode question | ssmiths001 | Shell Programming and Scripting | 1 | 10-21-2005 05:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
uuencode and mailx problem
We are running solaris 9.
I can send emails using mailx with no problems. I can send attachments using uuencode no problems. What I can't do is change the name to .txt or .doc or anything else using uuencode. The command I am using is: uuencode /tmp/AsetReports /tmp/AsetReports.doc | mailx -s "Weekly Aset Reports" admin The logs and using the -v option shows that the mail is being queued: stat=Sent (Ok: queued as 6A77F500007) There is nothing in var/spool/mqueue and I never receive the email. The mailq command also shows nothing as does the clientq. As I mentioned, if I remove the .doc extension, I do indeed get the attachment just fine. Any help would be greatly appreciated. Thanks, Zeek |
|
||||
|
uuencode's command-line arguments are confusing in that the optional argument is the first one (which is the attachment name), not the last one (which is the source filename). So the correct syntax for what you want should be uuencode AsetReports.doc /tmp/AsetReports.
|
|
||||
|
Darn, thanks Annihilannic. I must have read the man pages a 100 times and didn't notice that. I even read a heck of a lot of posts that had them reversed like I did because that's how I got the idea to add the .doc extension.
![]() Zeek |
| Sponsored Links | ||
|
|