Heim >Backend-Entwicklung >PHP-Tutorial >email在txt中,怎么弄个群发?

email在txt中,怎么弄个群发?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:26:41817Durchsuche

email在txt中,怎么弄个群发?

有现成的代码吗?


回复讨论(解决方案)

在txt中,比如是用 \n 分隔的,把他放在一个数组里,循环一下不就行了吗? 

写一个方法,遍历发送

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn