Closed (fixed)
Project:
Webform
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Mar 2011 at 10:16 UTC
Updated:
25 May 2011 at 05:41 UTC
Jump to comment: Most recent file
In http://drupal.org/node/808518, Mimemail module is preparing an API change. Now mimemail() returns a boolean but after this API change will return an array with the whole message. The actual boolean will be included in return array as key "result".
Fro, PHPDoc:
* @return
* An array containing the MIME encoded message, including headers and body.
Webform must adapt to the new Mimemail API.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | webform_1087598_02.patch | 754 bytes | sgabe |
| #1 | webform-1087598.patch | 975 bytes | claudiu.cristea |
Comments
Comment #1
claudiu.cristeaHere's a patch to be applied after http://drupal.org/node/808518 commit.
Comment #2
quicksketchThanks, though could we make an backwards compatible change? It's a serious pain trying to get modules to work together when we have a mid-cycle API change like this. Perhaps a condition like this would work for both versions of MIME Mail?
Comment #3
sgabe commentedGood point, Nathan. See the attached patch.
Comment #4
quicksketchThanks sgabe, committed. We should have a new Webform release by mid-next week. I really appreciate the heads up.