downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Dependências> <Introdução
[edit] Last updated: Fri, 17 May 2013

view this page in



Dependências> <Introdução
[edit] Last updated: Fri, 17 May 2013
 
add a note add a note User Contributed Notes Instalação/Configuração - [5 notes]
up
0
David dot Kit dot Friedman at gmail dot com
3 years ago
Just to add to the previous note -- if you are using windows and also SMTP authentication it is possible to get this to work by using the PEAR Mail package:

http://pear.php.net/package/Mail

I do not believe the built in Mail function provides this.
up
-1
alvaro at demogracia dot com
4 years ago
The sendmail binary requirement only applies to Unix-like platforms (e.g. Linux). In Windows you need to specify a mail server that accepts mail through a network connection. Find these lines in your php.ini file:

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com
up
-1
panique at web dot de
1 day ago
It's unbelievable that this is not explained here anywhere, but PHP's mail() function will not work on linux until you have installed a mail packet/software, usually you have to install "sendmail" via "sudo apt-get install sendmail" first.

I had to struggle around for WEEKS until i found out. Shame on you, PHP crew for not even mentioning this on the "oh-so-good" manual.
up
-2
David dot Kit dot Friedman at gmail dot com
3 years ago
If you are using SMTP authentication you can use the PEAR Mail package.

http://pear.php.net/package/Mail
up
-2
trial dot message at gmail dot com
8 months ago
Since it appears there is no SMTP client available for Windows 7 client machines, this may save some new developers a bit of misery:

Try installing smtp4dev as a local "dummy" SMTP server.  You can't actually send emails but it lets you check your code and config locally.  It sasved me a lot of frustration.

Rae

 
show source | credits | stats | sitemap | contact | advertising | mirror sites