smtp_parse_capabilities
Name
smtp_parse_capabilities — Parse the remote capabilities from the EHLO response
Synopsis
#include "smtp.h"
| void **smtp_parse_capabilities** (
| dc, | |
| | conn)
; | |
delivery_construct * <var class="pdparam">dc</var>
;
connection * <var class="pdparam">conn</var>
;
Description
Parse the remote capabilities from the EHLO response.
This is primarly a helper for clients who want to write/modify their own SMTP client state machine.
- dc
-
The delivery construct for the current session. For a description of this data type see “delivery_construct”.
- conn
-
The current connection. For a description of this data type see “connection”.
It is legal to call this function in any thread.