When sending a test email on an account that is not correctly configured yet (for this particular case, the DNS MX entry is not pointing yet to Google), the following error raises:
Notice: Undefined offset: 0 at SmtpMailSystem->mail() (line 169 of /path/to/drupal/sites/all/modules/contrib/smtp/smtp.mail.inc).
Adding a small check before entering the switch statement fixes the issue. Patch attached in the following comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | undefined_index_when_parsing_vars_aray_1402556_1.patch | 634 bytes | juampynr |
Comments
Comment #1
juampynr commentedHere is the patch.
Comment #2
wundo commentedCommitted, thanks!