Download & Extend

Blank screen & cron can't run on failed recipient Fatal Error

Project:PHPMailer
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Following returned when display errors added to settings.php
ini_set('display_errors', 1);

Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: The following recipients failed: elaine.allan@lib.domain.edu.au' in /net/www/fsd/sites/all/modules/phpmailer/phpmailer/class.phpmailer.php:639 Stack trace: #0 /net/www/fsd/sites/all/modules/phpmailer/includes/phpmailer.class.inc(84): PHPMailer->SmtpSend('Return-Path: br...', 'This is a multi...') #1 /net/www/fsd/sites/all/modules/phpmailer/includes/phpmailer.mimemail.inc(72): DrupalPHPMailer->SmtpSend('Return-Path: br...', 'This is a multi...') #2 /net/www/fsd/sites/all/modules/phpmailer/phpmailer.module(81): mimemail_phpmailer_send(Array) #3 /net/www/fsd/sites/all/modules/mimemail/mimemail.module(166): phpmailer_mailengine('send', Array) #4 /net/www/fsd/sites/all/modules/simplenews/simplenews.module(1665): mimemail('"The Office of ...', 'elaine.allan@li...', '[Monash Green N...', '<!DOCTYPE html ...', false, Array, 'Monash Green Ne...', Array, '') #5 /net/www/fsd/sites/all/modules/simplenews/simplenews.module(1710): simplenews_mail_mail('1313' in /net/www/fsd/sites/all/modules/phpmailer/phpmailer/class.phpmailer.php on line 639

Comments

#1

Version:6.x-2.1» 6.x-2.x-dev

Oops I'm using dev version

#2

Looks like the module isn't handling closed (expired) email accounts. I had to manually delete a each email address it errored on to get the cron to run cleanly.

#3

Status:active» fixed

This should be fixed in the latest development snapshot.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.