Unix/Linux
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs Unix/Linux

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old May 9th, 2005, 11:28 AM
Gilles Auric
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mail attachment command line

Hi
I'm looking for a simple command line to send a postscript or pdf file
in "attachment" within a shell with mail or sendmail
thanks
gilles
--

tel +41 21 693 26 33
mobile +41 79 513 74 10
fax +41 21 693 76 00
www http://ltswww.epfl.ch/~auric

GILLES AURIC EPFL ITS CH-1015 LAUSANNE SUISSE



Reply With Quote
  #2  
Old May 9th, 2005, 11:28 AM
Michael Heiming
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mail attachment command line

Gilles Auric <gilles.auric@epfl.chwrote:
Hi
I'm looking for a simple command line to send a postscript or pdf file
in "attachment" within a shell with mail or sendmail

$ uuencode file.pdf file.pdf | mail -s "See attached file.pdf" someone@somewhere.org

Good luck

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM

Reply With Quote
  #3  
Old May 9th, 2005, 11:28 AM
Andrzej Adam Filip
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mail attachment command line

Michael Heiming wrote:
Gilles Auric <gilles.auric@epfl.chwrote:
>
>>Hi
>>I'm looking for a simple command line to send a postscript or pdf file
>>in "attachment" within a shell with mail or sendmail

>
>

$ uuencode file.pdf file.pdf | mail -s "See attached file.pdf" someone@somewhere.org
>

Good luck

If you use perl for scripting then take a look at MIME::Lite module at
http://www.cpan.org/

--
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
anfi@priv.onet.pl anfi@xl.wp.pl [former: anfi@Box43.pl]
I am proud I am not a new model bushman. *Random Epigram* :
First love is only a little foolishness and a lot of curiosity, no really
self-respecting woman would take advantage of it.
-- George Bernard Shaw, "John Bull's Island"


Reply With Quote
  #4  
Old May 9th, 2005, 11:28 AM
Luiz Henrique de Figueiredo
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mail attachment command line

In article <3F0E777B.3000807@epfl.ch>,
Gilles Auric <gilles.auric@epfl.chwrote:
>I'm looking for a simple command line to send a postscript or pdf file
>in "attachment" within a shell with mail or sendmail


I wrote a simple script called matt that does that. See
http://www.impa.br/~lhf/software.html

Reply With Quote
  #5  
Old May 9th, 2005, 11:36 AM
Heiner Steven
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
mail attachment command line

Gilles Auric wrote:

I'm looking for a simple command line to send a postscript or pdf file
in "attachment" within a shell with mail or sendmail



Heiner
--
_
/ __| |_ _ _ Heiner STEVEN <heiner.steven@nexgo.de>
\__ \ _/ -_) V / -_) ' \ Shell Script Programmers: visit
|/\__\|\_/\|_||_| http://www.shelldorado.com/


Reply With Quote
Reply

Viewing: Web Development Archives FAQs Unix/Linux > mail attachment command line


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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
Stay green...Green IT