How to send mails through php script?

前端 未结 8 1000
半阙折子戏
半阙折子戏 2021-01-01 08:02

How can i send mails through the php script?? I am trying to do somthing like this:

for($k=0;$k<=$x->length-1;$k++)
{
    for($l=0;$l<=$j-1;$l++)
           


        
8条回答
  •  说谎
    说谎 (楼主)
    2021-01-01 08:09

    php-s mail function uses sendmail as a MTA, so if some mails go through and some not, I would look at sendmail's log for errors.

提交回复
热议问题