Re: Sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

On Wed, 2009-02-04 at 01:45 -0800, Adil Drissi wrote:
> Hi,
> 
> I have successfully installed Mysql and PHP but I am unable to send email via php. Sendmail is already installed apparently. I want to know if there is a way to test email by sendmail command lines. Another thing is that how to configure sendmail because i'm just a regular customer of an internet provider. I know the provider's mail server parameters. Can sendmail be used with these parameters?
> 
> Thank you
> 
> 
> 
>       
> 

Adil,

In order to test an e-mail file all you have to do is use the following:

cat $desired_filename | sendmail -t

The file you create must have

-------------------------------
From: user@xxxxxxxxxxxxxx
To: user@xxxxxxxxxxxx
Subject: This is a test
<Blank Line>
Body of Message
--------------------------

Where <blank line> is just a carriage return or blank line.

and "------------------------" is not part of the data in the file


Configuring sendmail ranges from very simple to way too complex to think
about.  You will need to purchase the BAT book "Sendmail" by O'Rielly.
The syntax and grammar are to varied to discuss on the list, but send me
an e-mail if you want some offline help.

Greg Ennis

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux