RE: [PHP] mail()

From: Date: Fri, 01 Sep 2000 02:32:16 +0000
Subject: RE: [PHP] mail()
Groups: php.general 
Request: Send a blank email to php-general+get-14721@lists.php.net to get a copy of this message
try to set it as follows: Mail('tim@wolgemuth.cc','test','this is a test message\n'); There's no need to escape from '@' but if you have some other strange staff then use single quote (') and it will not parse your string: means you can have there anything but not (') which (guess what?) you;ll have to escape with \ Chers! -----Original Message----- From: Tim Wolgemuth [mailto:tim@wolgemuth.cc] Sent: Friday, September 01, 2000 12:55 AM To: php-general@lists.php.net Subject: [PHP] mail() I am having a problem with getting the mail() function to work. Here is the code: Mail("tim\@wolgemuth.cc","test","this is a test message\n"); Here is the error in the error log: qmail-inject: fatal: read error Here is the line in php3.ini: sendmail_path = /var/qmail/bin/sendmail I have also tried: sendmail_path = /var/qmail/bin/qmail-inject With the same error. I am using php 3.0.16 Tim Wolgemuth -- 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 (#14721) next »