Warning: class_implements() [function.class-implements]: Class MailsystemDelegateMailSystem does not exist and could not be loaded in drupal_mail_system() (line 276 of /XXX/includes/mail.inc).
Class MailsystemDelegateMailSystem does not implement interface MailSystemInterface

There is a typo in the .info file - the case of the actual filename is different to what is there, and on our systems that stops the class being loaded when needed. The attached patch fixes this.

Comments

After looking at the code I suggest to rename the file MailSystemDelegateMailSystem.inc into MailsystemDelegateMailSystem.inc instead of updating the info file because the contained class actually is named MailsystemDelegateMailSystem.

Status:Active» Needs review
StatusFileSize
new2.86 KB

Attached patch renames the file instead.

Priority:Normal» Major
Status:Needs review» Reviewed & tested by the community

"MailsystemDelegateMailSystem" is more precise camel-casing, anyway. Works in my testing.

Patch #2 works for me too. Thanks!