HomePhorge

Set messageIDHash from SendGrid and Test controllers

Description

Set messageIDHash from SendGrid and Test controllers

Summary:
Most mail comes in through the script, but we can also generate it with the test controller or the SendGrid receiver.

In these cases, we produce a null message hash ID, which fails on inserts into MySQL databases configured in strict mode.

Instead, correctly generate the hash ID in these cases (for tests, make one up).

Test Plan: Generated test mail. (I'll see if @sokcevic can test SendGrid).

Reviewers: btrahan

Reviewed By: btrahan

CC: sokcevic, aran

Maniphest Tasks: T2423

Differential Revision: https://secure.phabricator.com/D4667

Details

Provenance
epriestleyAuthored on Jan 26 2013, 3:22 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP3f91559b8a01: fix mail handler for conpherence try 2
Branches
Unknown
Tags
Unknown

Event Timeline