Email from command line with attachment

bruce bedouglas at
Tue May 16 21:38:31 UTC 2006


i don't recall the complete mail command but it's pretty easy.

something like "mail -u foo at -a "file"

if you check the man page/google for the linux "mail" command, you'll find
the format in a few mins!!

-----Original Message-----
From: fedora-list-bounces at
[mailto:fedora-list-bounces at]On Behalf Of Steven J Lamb
Sent: Tuesday, May 16, 2006 2:06 PM
To: fedora-list at
Subject: Email from command line with attachment

How does one send an email from the command line with an attached file. My
purpose is to create a webpage that will cause a dynamic file from the file
system. My intended webpage language is php. Any ideas out there?



fedora-list mailing list
fedora-list at
To unsubscribe:

More information about the users mailing list