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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux