Click to See Complete Forum and Search --> : failed to connect, mail() on pws


Anon
07-02-2000, 11:03 AM
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.

Anon
07-02-2000, 02:06 PM
tkhankyou!!!!!

Anon
07-02-2000, 06:14 PM
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

Anon
07-03-2000, 07:37 AM
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

Anon
07-03-2000, 08:15 AM
It works.
After a restart it works.
Thanx, thanx.

Anon
02-09-2001, 06:19 AM
hi,

Think you for your type

the connection is Working now