Forums

  • # January 27, 2010 at 5:23 pm

    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:wampwwwrandymail.php on line 11
    there?s some errors to send the mail, verify your server options
    Name: Email: Subject: Message:

    I am using the wamp server for local development. I have tried several different types of contact forms and i still get this message.

    on line 11 i have if(mail($to, $subject,$message)){

    # January 27, 2010 at 8:11 pm

    Sounds right to me, TT_Mark.

    # January 27, 2010 at 11:29 pm

    Yep, You both are right. The code works great on the live server.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag