@mail not sending mail in php

后端 未结 5 1370
你的背包
你的背包 2020-12-17 08:00

This is the first time I am using the mail function. I tried to send a mail using this and the code tells me it\'s \"successfully sent\", but I didn\'t receive any mail. I\'

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-17 08:42

    did you ever send mails on this server? if not:

    you have to configure mail function section in php.ini.

    First of all you have to have SMTP support for send&receive e-mails. Second, you have to configure SMTP and smtp_port values in php.ini file.

提交回复
热议问题