send email from command line

Adrian Puente Z. apuente at hackarandas.com
Wed Sep 24 15:17:09 UTC 2008


mierda tuti escribió:
> Hi,
>  
> I newbie on ubuntu.
> I would like to can send mail from command line with mailx but I don't
> have idea.
>  
> Could you say me how to configure?
>  
> Many thanks and sorry for my english!
>  
> 
I am sending you a perl script I use to backup small files to a gmail
account. You only need to invoke like ./mailbackup.pl [File]. You have
to edit it for your needs but it works... Oh it also needs the

use MIME::Lite;
use Digest::MD5;
use Digest::SHA;

Perl Libraries. Hope you find it usefull. I know is not the exact answer
for the question but I wanted to share this.

greets,
-- 
Adrián Puente Z.
[www.hackarandas.com]
Donde las ideas se dispersan en bytes...

"... ruego a mi orgullo que se acompañe siempre de mi prudencia,
y si algún día mi prudencia se echara a volar, que al menos
pueda volar junto con mi locura"
	--Nietzche

Huella: FBD6 4C36 2557 C64C 1318  70A8 F561 CB6F 4E40 5AFB
http://www.hackarandas.com/apuente_at_hackarandas.com.asc.gz




More information about the ubuntu-users mailing list