Homec4science

Set messageIDHash from SendGrid and Test controllers

Authored by epriestley <git@epriestley.com> on Jan 27 2013, 00:22.

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

Committed
epriestley <git@epriestley.com>Jan 27 2013, 00:22
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3f91559b8a01: fix mail handler for conpherence try 2
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1670f5841ddc: Set messageIDHash from SendGrid and Test controllers (authored by epriestley <git@epriestley.com>).Jan 27 2013, 00:22