RE: [PHP] Do i need sendmail ?

From: Date: Sun, 03 Sep 2000 16:50:24 +0000
Subject: RE: [PHP] Do i need sendmail ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18613@lists.php.net to get a copy of this message
Yes. Since the mail() function relies on the local MTA, you will need either sendmail, qmail, or similar. If you cannot rely on the MTA (or if you don't want to install sendmail or qmail) you can send the mail directly to a mail server using SMTP. I have a sample SMTP class is you would like to see it. It is just a copy from "Professional PHP Programming". I use it because even though I do have a local mail transport agent (sendmail) I don't want to configure it. Besides, I am sending mail to a different server anyway. -----Original Message----- From: Maximo [mailto:lista@dynastar.com.ar] Sent: Wednesday, October 04, 2000 10:53 AM To: php-general@lists.php.net Subject: [PHP] Do i need sendmail ? Hi! I have a php form with : mail("lista@dynastar.com.ar", "VOTACIÓN", "Nombre: $nombre...etc The question is: do i need an MTA (sendmail or qmail) running on the same server that hosts the form ? Thanks Max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#18613) next »