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.
Comment | File | Size | Author |
---|---|---|---|
#1 | phpmailer.debug-notice.1.patch | 671 bytes | sun |
Comments
Comment #1
sunCan you test this patch?
Comment #2
rmfleet CreditAttribution: rmfleet commentedI can confirm that this patch fixes the notice issue here.
Comment #3
sunThanks 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.
Comment #4.0
(not verified) CreditAttribution: commentedline 109