linux poison RSS
linux poison Email

Sending email attachments from linux command line

Many times we required to send mail attachments from command line, when administering a server remotely. The procedure is simple using mutt that is available in all Unix flavors and Windows Microsoft.

$ mutt -s "Logs" -a http_access.log

Or Without subject:

$ echo | mutt -a [file] []

Mutt website:


Post a Comment

Related Posts with Thumbnails