The mimemail module override the smtp_library value when chosen to handle all mail. The problem occurs when the module has already been installed in the all-site modules folder, and you move it or override it by adding it to the per-site folder. The "smtp_library" variable value keep the all-site folder path, and you get a PHP fatal error for the class to be declared twice.

Submitting the mimemail settings again won't update the variable.

CommentFileSizeAuthor
#2 bug-1076222-1.patch972 bytespapasse

Comments

sgabe’s picture

Status: Needs review » Active

There is nothing to review. Did you forgot to attach a patch?

papasse’s picture

Status: Active » Needs review
StatusFileSize
new972 bytes

Here is a tiny little patch (my first one in fact...) that changes the way the module checks this variable when submitting the settings. That corrected the problem for me.

papasse’s picture

There it is, I needed the issue number... :-)

sgabe’s picture

Sorry, I was too fast, I didn't see that this issue is brand new.

aron novak’s picture

Status: Needs review » Reviewed & tested by the community

The patch seems to be perfect.

sgabe’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 6.x-1.x, thanks!

Status: Fixed » Closed (fixed)

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