On a Drupal 7.10 Site I installed the PHPMailer Module 7.x-3.x-dev.

When sending a new message to Users I get the following Notice after a successful sending!

Notice: Undefined variable: debug in DrupalPHPMailer->SmtpSend() (line 109 of /var/www/sites/all/modules/phpmailer/includes/phpmailer.class.inc).

Under the red Notice is a green Message

Message has been sent to {USER xy}

So if I do the same with a group instead of user(s) then only the "green" message about the successful sending appears.

In both cases two things happen.
1st the Message will be sent to all Recipients in their Inbox(es)

2nd a Mail is generated to the Recipients Email Account(s)

I don't really know which variable is missing when sending messages only to a user or a couple of users.

I thank everybody for help.

Files: 
CommentFileSizeAuthor
#1 phpmailer.debug-notice.1.patch671 bytessun
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch phpmailer.debug-notice.1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new671 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch phpmailer.debug-notice.1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Can you test this patch?

I can confirm that this patch fixes the notice issue here.

Assigned:chrisssi» Unassigned
Status:Needs review» Fixed

Thanks for reporting, reviewing, and testing! Committed to all branches.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status:Fixed» Closed (fixed)

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

Issue summary:View changes

line 109