The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
awk getting stuck after BEGIN akshaykr2 Shell Programming and Scripting 1 06-24-2009 02:04 PM
Need help begin with unix. Morton UNIX for Dummies Questions & Answers 5 03-23-2009 11:11 AM
sendmail and message alert abhijeetkul UNIX for Advanced & Expert Users 1 05-23-2006 02:18 AM
Sendmail keep a user from send message westside Security 1 07-09-2002 09:51 AM
sendmail message body buffer limit? Optimus_P UNIX for Dummies Questions & Answers 3 10-04-2001 10:13 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-30-2009
pok.fung pok.fung is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 7
begin 644 in received message sent with sendmail

I send an attachment 123.pdf using the below script:-

<< script content >>
Code:
#!/usr/bin/ksh

/usr/lib/sendmail -C sendmail.cf abc@gmail.com << END
Subject: HELLO
`uuencode 123.pdf 123.pdf`
END
However, the message I got in gmail look like:-
Code:
begin 644 123.pdf
... garbage ...
... many lines ...
... garbage ...

end
Anyone knows what can I do in the sending side so that the receiving side can display the correct attachment in gmail? Thanks...

Last edited by Franklin52; 10-02-2009 at 05:45 AM.. Reason: Please use code tags!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0