php mail duplicates

前端 未结 4 753
[愿得一人]
[愿得一人] 2021-01-07 02:06

Is there any reason why this would send duplicate emails? I have a PHP page with only this code on it and every time I run it it sends me two emails.



        
4条回答
  •  广开言路
    2021-01-07 02:33

    You can try to debug at this way

    
    

    simply put a 'exit' there and try again. If it still sent twice, maybe is the server problem or could be the [mail function] in ‘php.ini’ (sendmail_from & sendmail_path)

提交回复
热议问题