diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-10-03 20:57:40 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-10-04 10:26:36 +0100 |
commit | 8e78571a8b7a823a439710720a407820ab662451 (patch) | |
tree | 0a89cb53a03dd035001ee8c38af065731d057f15 /src | |
parent | 2f6c7b1aa0bf4a675d0ec95646b27f5c71bf06c2 (diff) |
Events: Add smtp:ehlo event
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index d90f7adf1..3df06c202 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -814,6 +814,10 @@ if (!smtp_read_response(sx, sx->buffer, sizeof(sx->buffer), '2', #ifdef EXPERIMENTAL_DSN_INFO sx->helo_response = string_copy(sx->buffer); #endif +#ifndef DISABLE_EVENT +(void) event_raise(sx->conn_args.tblock->event_action, + US"smtp:ehlo", sx->buffer); +#endif return TRUE; } |