>> I'm trying: >> >> mutt -s "test" [email protected] < my_file.txt >> >> >> But the message is not sent: >> >> 0 (null) >> [email protected]: 0 (null) >> Error sending message, child exited 70 (internal error). >> Could not send the message >> >> >> Sending messages works fine from within mutt. >> >> I guess it's because my linux username is not converted to a correct From: >> header. >> >> How can one tell mutt to use [email protected] as the sender? Didn't find >> it in the man page. >> >> >> Thanks, >> steve >> > > cat myfile.txt | mail -s 'test' [email protected]
No. This will send a mail to [email protected] (which is alright) but I want to send a mail to [email protected] from account [email protected] (I'm sorry I mixed things up in my previous message). The question is how can I specify [email protected] on the command line?
