LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2003, 12:36 PM   #1
kevin.mccullor
LQ Newbie
 
Registered: Jul 2003
Location: Plano, TX
Distribution: RedHat 9.0
Posts: 1

Rep: Reputation: 0
Post Automated sending attachments through eamil


I am trying to move code from a Solaris platform to a Linux platform.

In solaris I can send and attachment through mailx using

---

mailx -s"Subject:" someone@somewher.com << EOF

Here is an attachment

`uuencode localfilename.txt remotefilename.txt`

EOF

The problem is first Linux does not use "mailx" and second is the Linux uuencoder does not use STDOUT to encode the file so nothing is attached to the email.

Any ideas?

Thanks for the help.
 
Old 07-28-2003, 02:15 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
There is a program called "mail-files", try that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending automated emails Wynd Linux - Software 6 10-26-2005 12:03 AM
Sending attachments using mailx wolfman423 Linux - Newbie 0 10-14-2005 09:27 AM
Cannot send attachments Likosin Linux - Software 3 04-11-2005 08:28 PM
sending attachments from sendmail in a script pr0fess0r Linux - General 2 05-20-2003 06:49 AM
send eamil when computer restarts tmz Linux - Newbie 4 10-28-2002 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration