Download & Extend

$header object in hook_mailhandler()

Project:Mailhandler
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I'm writing an implementation of hook_mailhandler($node, $result, $i, $header, $mailbox).

It looks like the $header object has a field for both 'subject' and 'Subject'.

What's the difference between these two, and looking forward to future versions of Mailhandler, which should I depend on?

Comments

#1

Or is it just that my test messages came with both headers? I'm going to assume most clients are going to only send the one with the capital S. Thanks for your input!

#2

Status:active» closed (duplicate)

Actually, I have no idea at all. I'm still making a code review from the administrative interface and just bumped into the hooks documentation, that seems to be a kind of mistery :)

As this is not the only one concern about hook_mailhandler, let's move this to the issue at #1040240: Document module hooks.