Posted by:
slice1pod
(---.hsd1.fl.comcast.net)
I configure everything in the PHP.ini and SENDMAIL.ini file
-------------------------------this is what i have------------------
sendmail.ini.
smtp_server=smtp.gmail.com
smtp_port=465
smtp_ssl=ssl
default_domain=gmail.com
auth_username=*************@gmail.com
auth_password=***
force_sender=**************@gmail.com
hostname=localhost
----------------------and--------------...
php.ini
; For Win32 only.
; [
php.net]
;SMTP = smtp.gmail.com
; [
php.net]
smtp_port = 465
; For Win32 only.
; [
php.net]
sendmail_from = ****************r@gmail.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"
.
; [
php.net]
sendmail_path = "C:\Wamp\bin\sendmail\sendmail.exe -t -i"
--------------------but i get this error---------------------
( ! ) Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\projects\email\sendmail.php on line 10
Call Stack
# Time Memory Function Location
1 0.0017 671488 {main}( ) ..\sendmail.php:0
2 0.0018 672376 mail ( ) ..\sendmail.php:10
Email sending failed
---------------------------------------...
I even downloaded and installed the php_smtp.dll file in the extension folder.
My wamp used to work awesome, but since i updated to wamp 2. ITS ALL F**D UP..
HELP!