The PHP Mail_mimeDecode package has been split off from the PHP Mail_Mime package (see . Since the decode functions are used in the Drupal Mail_Mime package, the warnings generated when the PHP packages are not found now need to say that both of them need to be installed. As it is now, someone can install Drupal Mime_Mail, get the message, install PHP Mime_Mail, and then be frustrated when the Drupal Mime_Mail still can't be enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | document_both_pear_modules-1173620-5.patch | 2.33 KB | ben coleman |
Comments
Comment #1
ben coleman commentedAh, I see that the install instructions specify using 'pear install -a Mail_Mime', which will get Mail_mimeDecode as a dependency. I still think that some indication that both Pear modules are needed might be a good thing.
Comment #2
pillarsdotnet commentedCan you roll a patch?
Comment #3
ben coleman commentedI'll try to roll something as soon as I can.
Comment #4
pillarsdotnet commentedNote that
README.markdownandAPI.markdownare the source files; the.htmland.txtfiles are auto-generated.Comment #5
ben coleman commentedAttached is a proposed patch for this. I've changed both the README and the warning message in mailmime.module.
Comment #6
pillarsdotnet commentedActually, the required files are listed in the Requirements section:
Mail/mime.phpMail/mimeDecode.phpMail/mimePart.phpPEAR.phpPEAR5.phpSo there are actually (parts of) five PEAR modules required. Listing just two is nearly as misleading as listing one.
Also, according to the documentation on php.pear.net and inside the downloaded files, all three mail classes are part of the same
Mail_Mimepackage.It's true that you can download two of the three separately, but I'm also using parts of the
Mail_mimePartclass, which, (afaict) cannot be downloaded separately.Soo.....
Modified and applied to -dev and (partially) to the latest release. Thanks.