Sending PHP mail from Windows server

后端 未结 2 343
鱼传尺愫
鱼传尺愫 2021-01-05 17:47

I have a form on my page. When the user hits the Send button - it\'s supposed to send an email with the details he entered in the form. Up until recently the form was hosted

2条回答
  •  花落未央
    2021-01-05 18:29

    In a windows environment PHP uses SMTP insted of the Linux binary sendmail (or replacement)

    You need to edit php.ini according to this page to be able to send e-mail via the mail() function.

提交回复
热议问题