Whenever notification emails are sent to the email address of the newly created account, a warning message is generated because an argument passed to drupal_mail() is not an array. The $headers argument is passed as a string (in RFC header format) whereas drupal_mail() expects an associative array which it later converts to RFC format before sending the message. I have attached a patch to fix the problem.

Thanks for the module by the way -- it's exactly what I've been looking for a while. I look forward to it being officially released.

CommentFileSizeAuthor
ldapprov.module.diff5.32 KBxmattus

Comments

miglius’s picture

Assigned: Unassigned » miglius
Status: Active » Fixed

Thanks xmattus, I missed it when porting from D47.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

  • Commit 9404591 on 5.x-1.x, master, 6.x-2.x, 6.x-1.x by miglius:
    #186877 by xmattus: argument passed to drupal_mail() is set to array
    
    

  • Commit 9404591 on 5.x-1.x, master, 6.x-2.x, 6.x-1.x by miglius:
    #186877 by xmattus: argument passed to drupal_mail() is set to array