Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi all,

    I was wondering how to use the mail() function. As you can see from the subject above I am getting a warning. The rest of that warning is -

    Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\wamp\www\testServe\testingMain.php on line 65

    Any ideas on what I need to do to connect to port 25.
    note: I just started learning php.


    Cheers
    • CommentAuthoralias
    • CommentTimeJun 6th 2007
     permalink
    hey,

    I suppose you haven't got an SMTP server on your local machine, so specifying your ISP's SMTP server (the one that's used to send mail, NOT receive) in the php.ini file should solve your problem.

    hope that helps,
    Martin Saulis
  2.  permalink
    Thanks for the suggestion.. Will look into that
  3.  permalink
    To know more about freelancing

    experiences and new freelance works contact

    http://tinyurl.com/yr4k7n

    http://www.getafreelancer.com/affiliates/L

    antis/
Add your comments
    Username Password
  • Format comments as (Help)