ec_message_get_rcptto

March 26, 2020 Contributors

Name

ec_message_get_rcptto — returns the entire protocol-decorated rcptto string

Synopsis

#include "ec_message.h"

| const char * **ec_message_get_rcptto** ( | mess); |   |

ec_message * <var class="pdparam">mess</var>;

Description

Returns the entire protocol-decorated rcptto string via a read-only buffer. For example, RCPT TO: [email protected]

Parameters

mess

A pointer to an ec_message struct. For documentation of this data structure see “ec_message”

Return Values

Returns a read-only pointer to the message rcptto buffer. This may be NULL, indicating that no rcptto string has been set.

Threading

It is legal to call this function in any thread.

See Also

ec_message_set_envelope and ec_message_get_mailfrom