Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End error m.essage when form submitted

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27759
    bruizerbeans
    Member

    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)){

    #70126
    TheDoc
    Member

    Sounds right to me, TT_Mark.

    #70130
    bruizerbeans
    Member

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.