On Tue, Jan 12, 2010 at 5:18 PM, ashraf mohammed <[email protected]>wrote:

>
>
> Hi guys
> i have a fedora 11 os in which sendmail service is running
> i am able to restart the senmail service successfully
> i have not done any configuration in sendmail conf file
>
> i am trying to send mail from command line from fedora but not working
>
> guys can u help me
> how to send mail from command line ?
> i have root access so permission is not a issue at all
> i have write some code so i want send mail from system command line
> can u guys assist
>
> MOHAMMED ASHRAF
>
> MOB: 9870161983
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
>
> [Non-text portions of this message have been removed]
>
>  
>

Hi,

You can get some details about sendmail in the following link.

http://www.linuxmaza.com/sendmail/simple-steps-to-send-mail-using-sendmail-on-linux-fedora-centos-ubuntu/

To Send mails from command line

[ash...@localhost /]$ echo "Testing My mail" | mail -s "Your Subject Goes
here" [email protected] [email protected]

IF you want to send content from a file you can use
[ash...@localhost /]$ cat filename.txt | mail -s "Subject"
[email protected]

For any queries on how to setup sendmail please PM me.

-- 
Ashwin R.


[Non-text portions of this message have been removed]

Reply via email to