Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-21-2009, 12:05 AM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 27
Rep:
|
uuencode
Hi,
We have an issue in sending attachements to gmail id from a linux server.
command is mailing some special characters instead of attaching a file.
we are using "uuencode" command to send the attachments.
pls find below for server info and uuencode version
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
uuencode version
uuencode - GNU sharutils 4.2.1
pls help us
regds
Sheri
|
|
|
01-21-2009, 02:52 PM
|
#2
|
Member
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512
Rep: 
|
Not sure I follow what you mean by special characters.
UUENCODE converts a file, ascii or binary into 7 bit ascii and places it in the body of an e-mail for transmission. This obviates the need to "attach" a file since it is infact part of the message. The recipient then runs UUDECODE against the message to retreive the original file form.
RHEL comes with pad support. What did RedHat say?
|
|
|
01-21-2009, 03:14 PM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,593
|
Quote:
Originally Posted by sherimm
Hi,
We have an issue in sending attachements to gmail id from a linux server.
command is mailing some special characters instead of attaching a file.
we are using "uuencode" command to send the attachments.
pls find below for server info and uuencode version
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
uuencode version
uuencode - GNU sharutils 4.2.1
pls help us
|
How about telling us what the actual error is? What are the 'special characters'?? Details about what you're trying to send? Anything?
Just saying the versions of what you're using, doesn't give us alot to go on. I agree with NyteOwl...contact RedHat...you're paying for support, and should use it.
Also, please spell out your words...
|
|
|
01-22-2009, 01:19 AM
|
#4
|
LQ Newbie
Registered: Nov 2007
Posts: 27
Original Poster
Rep:
|
i found below command to send an attachment to gmail from a unix box.
mutt
i tried to send an attchment with the below syntax
mutt -s "subject" -a attachfile muraliserii14@gmail.com
it did work, but i haven't recieved any email to above gmailid.
could you please expalin how it works
regds
Sheri
|
|
|
01-22-2009, 01:47 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Quote:
Originally Posted by sherimm
it did work, but i haven't recieved any email to above gmailid.
|
You should look at the mail logs for error messages coming from the mail server. See for example in /var/log/messages or /var/log/maillog.
As alternative to the above commands, you can try uuenview (slightly different from uuencode) coming with the package uudeview-0.5.20-1.el4. Here is an example:
Code:
/usr/bin/uuenview -m "mail.receiver@some.domain" -f "mail.sender@some.domain" -s "subject" -a attachfile << EOF
Greetings!
(see attached file: attachfile)
EOF
This will send a mail from mail.sender@some.domain to mail.receiver@some.domain using sendmail as carrier.
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|