LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-13-2006, 10:51 AM   #1
thelonius
Member
 
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136

Rep: Reputation: 15
attachment with a sendmail


Hello,

I wonder if it is possible to send an attachement using one of command-line sendmail utilities ? It doesn't work with 'ssmtp'. Is there any other choice ?

Thank you in advance.
 
Old 09-13-2006, 01:06 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,603

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
You can use mail (also known as nail mailx in some distros) or mutt:
Code:
mail -s "Subject"  user@domain.com < /path/to/atachment
mutt -s "Subject" user@domain.com -a /path/to/attachment < /dev/null
Regards
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
attachment limits with sendmail p_test Linux - Networking 1 04-19-2006 09:02 AM
Send excel attachment using sendmail cwseetoh Linux - Software 3 09-24-2004 01:29 PM
Attachment size in Sendmail RajaRC Linux - General 6 03-22-2004 11:05 PM
Attachment blocking in Sendmail RajaRC Linux - General 2 03-22-2004 08:05 AM
sendmail antivirus and attachment filters? Opcode Linux - Security 4 06-05-2002 04:34 AM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration