I'm using mime mail for sending HTML email with Rules.
When I post some comment on any node this notice is displayed:

Notice: Undefined offset: 0 in mimemail_headers() (line 68 of /home/example/sites/all/modules/mimemail/mimemail.inc).

Comments

maractive’s picture

I've got the same, did you fix this?

pokap’s picture

I created a patch for fix this.

sgabe’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: Fix-return-path-data-in-mimemail-headers.patch, failed testing.

pokap’s picture

Status: Needs work » Needs review
StatusFileSize
new945 bytes

Oops sorry, I create a new patch.

Status: Needs review » Needs work

The last submitted patch, 5: Fix-return-path-header-retrieve.patch, failed testing.

maractive’s picture

Hi, bit confused as fairly new to Drupal. Does the patch work? How do I apply it?

sgabe’s picture

Status: Needs work » Fixed

Committed, thanks!

sgabe’s picture

Title: Notice:Undefined offset: 0 in mimemail_headers » Undefined offset in mimemail_headers

Status: Fixed » Closed (fixed)

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