LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03:23 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

Rep: Reputation: 79
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, 03:45 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 05:12 AM   #3
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 542

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

You're right, it works just fine.

Thanks a lot.
Angel.
 
  


Reply



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 Aquarius_Girl LQ Suggestions & Feedback 28 05-06-2010 02:17 AM
how to attach file in sendmail a7mlinux Linux - General 1 05-02-2009 11:31 AM
how does ping ns1.somedomain.com work? fatal_err0r Linux - Server 6 04-08-2008 10:47 AM
ORA-24123: unable to attach to shared memory segment yrkhond Linux - Newbie 1 03-17-2008 07:17 PM
Cisco VPN client unable to attach to driver Baracuda Linux - Networking 3 06-22-2006 10:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration