doubi3996 2014-10-20 06:02
浏览 37
已采纳

在wamp服务器设置中为邮件功能配置写什么? [关闭]

I just installed wamp server. At the end of the installation, it is showing this window:

enter image description here

I am going to use gmail for mail in my project. I don't know what to write in this window. Please help.

  • 写回答

1条回答 默认 最新

  • douyun4524 2014-10-20 06:07
    关注

    For this you need to enter SMTP mail server and email you want to use (If you have any else you can click next). if you don't have any SMTP server set uped. php mail() will not work on your local server (WAMP)

    SMTP server like :-

    mail.mysite.com
    

    email :-

    youremail@email.com
    

    You can also change these settings from your php.ini anytime

    SMTP = mail.mydomain.com
    smtp_port = 25
    sendmail_from = postmaster@localhost
    

    Change these settings with your settings

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?