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
 
Search this Thread
Old 11-15-2010, 04:23 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Rep: Reputation: 75
mutt : someone@somedomain.com unable to attach file.


Hello there,

I'm trying to use mutt to send all faxes that we do receive in a folder on an email address.

Code:
mutt -a fax.tiff -s "test 1 mutt"  someone@somedomain.com < MessageBody
I always get the following error:
Can't stat someone@somedomain.com: No such file or directory
If I don't put any attachment it work fine.
The code below works fine:
Code:
mutt -s "test 1 mutt"  someone@somedomain.com < MessageBody
Could anyone give me a lead on how to troubleshoot that?

I've checked on many forum and my syntax seems to be fine.

Any idea?

Thanks, Angel.
 
Old 11-15-2010, 04:45 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

Put the attachment option after the recipient:
Code:
mutt  -s "test 1 mutt"  someone@somedomain.com -a fax.tiff < MessageBody
Regards
 
Old 11-15-2010, 06:12 AM   #3
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Original Poster
Rep: Reputation: 75
How stupid I am...

You're right, it works just fine.

Thanks a lot.
Angel.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to attach a C file of 32.8 kilobytes TheIndependentAquarius LQ Suggestions & Feedback 28 05-06-2010 03:17 AM
how to attach file in sendmail a7mlinux Linux - General 1 05-02-2009 12:31 PM
how does ping ns1.somedomain.com work? fatal_err0r Linux - Server 6 04-08-2008 11:47 AM
ORA-24123: unable to attach to shared memory segment yrkhond Linux - Newbie 1 03-17-2008 08:17 PM
Cisco VPN client unable to attach to driver Baracuda Linux - Networking 3 06-22-2006 11:45 PM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
Advertisement
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 Google+: linuxquestions
Open Source Consulting | Domain Registration