Mombu the Php Forum

Mombu the Php Forum > Php > mail function error
REGISTER NOW! Search Today's Posts Mark Forums Read




Reply
 
Thread Tools Search this Thread Display Modes
1 18th May 20:58
john
External User
 
Posts: 1
Default mail function error



Im connecting thru ISP so it's not local server connection.

My PHP.INI
***********************************
[mail function]
; For Win32 only.
SMTP = mail.myDomain.com
smtp_port = 25

; For Win32 only.
sendmail_from = localhost@testme.com
************************************

I get error:
Warning: mail() [function.mail]: Failed to connect to mailserver at
"localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini
or use ini_set() in


Why is he trying to connect to localhost ?
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


2 18th May 20:58
arjen
External User
 
Posts: 1
Default mail function error



John schreef:


Did you restart apache ?

--
Arjen
http://www.hondenpage.com
  Reply With Quote
3 18th May 20:58
john
External User
 
Posts: 1
Default mail function error


************************************************** ***
Yes ... but the situation is the same...
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


4 19th August 08:47
giannis vrentzos
External User
 
Posts: 1
Default mail function error


This setting is for windows only. Are you windows or *nix?

Gvre
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666