Results 1 to 4 of 4
hi all
How do I send email from command prompt?
i tried this
Code:
[root@localhost ~]# mutt -s "Test mail" -a /root/Desktop/email.txt XXXXX@yahoo.co.in < /root/Desktop/email.txt
Error sending message, child exited ...
- 04-10-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
How do I send email from command prompt?
hi all
How do I send email from command prompt?
i tried this
is there any way to send like thisCode:[root@localhost ~]# mutt -s "Test mail" -a /root/Desktop/email.txt XXXXX@yahoo.co.in < /root/Desktop/email.txt Error sending message, child exited 71 (Operating system error.). Segmentation fault [root@localhost ~]#
thank you in advance
- 04-10-2007 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 11
Sendmail
Hi,
Take some effort to read basic things. You can use mail command to send a mail through command prompt. Read man pages to know about command.
Originally Posted by munna_dude
- 04-10-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
thank you for quick replay
/bin/mail -s "what r u doing" "XXXX@yahoo.co.in" < /root/Desktop/email.txt
Originally Posted by Faizsir
it says
[root@localhost ~]# /bin/mail -s "what r u doing" "munna_dude@yahoo.co.in" < /root/Desktop/email.txt
/etc/mail/submit.cf: line 545: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[root@localhost ~]#
can you help me
thank you in advance
- 04-12-2007 #4Just Joined!
- Join Date
- Apr 2007
- Posts
- 18
You have problems with configuring the sendmail. Have you properly set it up ?


Reply With Quote