Re[2]: [PHP] Mailing problem
| From: | James Day | Date: | Fri, 16 May 2003 06:12:54 +0000 |
| Subject: | Re[2]: [PHP] Mailing problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147861@lists.php.net to get a copy of this message | ||
Michael> without code, how can we ascertain/divine what could possibly be the issue?
Sorry, but it's a pretty simple piece of code :)
<?
mail("loc@air-stream.org", "subject testing", "testline 1\ntestline
2\ntestline 3", "From: testing@test.com");
?>
Logically, the problem must lie with the box.
It's a PIII 1GHz 256Mb RAM running FreeBSD 4.7-RELEASE.
Installed is apache-1.3.27 and php-4.3.1.
httpd.conf and php.ini are pretty default, espeically concerning SMTP.
Pasted from php.ini:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
Is there anything I need to put in the sendmail_path argument ?
Sorry for the lack of info last post, I thought this might be a less
specific problem :)
Best regards,
James Day (LoC)
Treasurer, Air-Stream Wireless Inc.
mailto:loc@air-stream.org www.air-stream.org