Jump to content


Photo

smtp or smtp port setting error...?


  • Please log in to reply
1 reply to this topic

#1 cnagra

cnagra
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 22 April 2006 - 02:43 AM

hi i keep gettin this error:

Warning: 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:\project\htdocs\sendemail.php on line 1426

when i try using my email form, im using apache, mysql.
what are the default settings, can anyone help

thanks



#2 cnagra

cnagra
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 22 April 2006 - 03:02 AM

i fixed that error
but now im gettin this error

Warning: mail(): Failed to Receive in c:\project\htdocs\sendemail.php on line 1426

the line of code
mail("myemail@hotmail.com", $subject, $message, $from);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users