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

calebtr’s picture

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!

ilo’s picture

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.