Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/297.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 通过swiftmail发送电子邮件时重复_Php_Swiftmailer - Fatal编程技术网

Php 通过swiftmail发送电子邮件时重复

Php 通过swiftmail发送电子邮件时重复,php,swiftmailer,Php,Swiftmailer,我尝试使用swiftmailer发送电子邮件问题是,它同时发送重复的电子邮件(通常超过3封邮件),这只发生在我的服务器上(虽然我的本地很好),首先我认为这是因为我的服务器和本地的设置不同,但我没有发现任何可疑之处,供您参考,我的服务器在ubuntu中运行,我的本地服务器在xampp windows中运行。请给我建议如何解决这个问题

我尝试使用swiftmailer发送电子邮件问题是,它同时发送重复的电子邮件(通常超过3封邮件),这只发生在我的服务器上(虽然我的本地很好),首先我认为这是因为我的服务器和本地的设置不同,但我没有发现任何可疑之处,供您参考,我的服务器在ubuntu中运行,我的本地服务器在xampp windows中运行。请给我建议如何解决这个问题