
January 14th, 2005, 11:04 AM
|
|
Registered User
|
|
Join Date: Jan 2005
Location: Pr
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
problems with mail(), I need help!!!
Hi,
I have a form on the site I'm working on, the site now is running on localhost (I've got apache server),
but the problem is that the form is not sending email, I mean by this that the informations collected by the form shuould be sent to my email. I'm using on my PHP scripts the mail() function.
I think there is a problem with my php.ini  configration here is hot it looks for the moment:
Code:
mail function]
; For Win32 only.
SMTP = smtp.gmail.com
; For Win32 only.
//sendmail_from = fkastrati@gmail.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
Can anybody help me configure this thing so that I could receive email  ????
Here is the message I get from browser when I click send:
Code:
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 C:\xampplite\htdocs\ubt\common\mail.php on line 15
Thanxsssssss
Fisinik
|