How to send mail using wamp server?

Discussion in 'PHP' started by chongchnw, Apr 26, 2012.

  1. #1
    Hi, I am using wamp now and would like to send mail from my computer. I had research around know that need to change the below coding from php.ini
    Then I tried run the sending mail script and it doesnt work(the send mail script is confirm work cause I tried it own free hosting but it only can send once in a day).

    My question is I not sure how to config from localhost, and is there any free smtp server for me to use instead of gmail(as I know smtp.gmail.com is not working).
     
    chongchnw, Apr 26, 2012 IP
  2. paparts

    paparts Active Member

    Messages:
    112
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    You need to have a mail server defined... You can use phpmailer to send emails using their library....
     
    paparts, Apr 26, 2012 IP
  3. webshore88

    webshore88 Well-Known Member

    Messages:
    131
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #3
    check if SMTP is active on your server through phpinfo().
     
    webshore88, Apr 27, 2012 IP