smtp_parse_capabilities

March 26, 2020 Contributors

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.

Parameters

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”.

Threading

It is legal to call this function in any thread.

See Also

SMTP-related Functions