Click to See Complete Forum and Search --> : failed to connect, mail() on pws
I can't get the mail function working. Unable to connect is all I get. Im using php4 with pws on windows. What are the settings for ;smtp and ;sendmail_path in the php.ini here? Do i need to move dll's? Can somebody help me? Please?
Thanks.
Emile.
Hi emile,
the solution is as simple as this:
(in the php.ini file)
SMTP = YourSmtpServer.com
sendmail_from = you@domani.com
if you are connected to the internet the funcion mail() will work just fine.
HTH,
--
Antonio
Thanks for the hints Antonio, but it still doesn't work. Could it be you can't use an external smtp?
I'm going bananas about this.
Thx,
Emile
It works.
After a restart it works.
Thanx, thanx.
hi,
Think you for your type
the connection is Working now
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.