note 95806 added to ref.mail
| From: | giantangrysquid at yahoo dot com | Date: | Fri, 22 Jan 2010 15:37:27 +0000 |
| Subject: | note 95806 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165214@lists.php.net to get a copy of this message | ||
What is up with PHP's sendmail_path directive? Several things do not make sense to me.
1) It explicitly says "for Unix only," yet a) I keep seeing tutorials that say to use this
line for Windows, and b) the example file path wouldn't even make sense in Unix
2) I have two servers - one Xampp, one that I'm setting up piece-by-piece (Apache, MySQL, PHP,
etc). I thought that the XAMPP one used sendmail.exe, since it's installed and I configured it,
but the sendmail_path directive is commented out, so how would it know to use sendmail.exe?
3) On my custom-built server, I tried sending an email from PHP, and it also sends (slowly) - even
though sendmail is not installed.
I thought that was odd, so on the XAMPP server, I tried commenting out some of the important lines
in sendmail.ini, and it still sends - but again, slowly.
Does PHP have mailing functionality built-in? If not, does it somehow pass the message to Windows to
send? Why is that slower than using the sendmail program? What the heck is going on here?
----
Server IP: 69.147.83.197
Probable Submitter: 216.104.128.140
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- https://master.php.net/note/edit/95806
Del: integrated -- https://master.php.net/note/delete/95806/integrated
Del: useless -- https://master.php.net/note/delete/95806/useless
Del: bad code -- https://master.php.net/note/delete/95806/bad+code
Del: spam -- https://master.php.net/note/delete/95806/spam
Del: non-english -- https://master.php.net/note/delete/95806/non-english
Del: in docs -- https://master.php.net/note/delete/95806/in+docs
Del: other reasons-- https://master.php.net/note/delete/95806
Reject -- https://master.php.net/note/reject/95806
Search -- https://master.php.net/manage/user-notes.php