Evolution-Data-Server Manual: Utilities (libedataserver) | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
ESourceMDNESourceMDN — ESource extension for MDN settings |
Synopsis
#include <libedataserver/libedataserver.h> struct ESourceMDN; #define E_SOURCE_EXTENSION_MDN enum EMdnResponsePolicy; EMdnResponsePolicy e_source_mdn_get_response_policy (ESourceMDN *extension
); void e_source_mdn_set_response_policy (ESourceMDN *extension
,EMdnResponsePolicy response_policy
);
Description
The ESourceMDN extension tracks Message Disposition Notification settings for a mail account. See RFC 2298 for more information about Message Disposition Notification.
Access the extension as follows:
1 2 3 4 5 |
#include <libedataserver/libedataserver.h> ESourceMDN *extension; extension = e_source_get_extension (source, E_SOURCE_EXTENSION_MDN); |
Details
struct ESourceMDN
struct ESourceMDN;
Contains only private data that should be read and manipulated using the functions below.
Since 3.6
E_SOURCE_EXTENSION_MDN
#define E_SOURCE_EXTENSION_MDN "Message Disposition Notifications"
Pass this extension name to e_source_get_extension()
to access
ESourceMDN. This is also used as a group name in key files.
Since 3.6
enum EMdnResponsePolicy
typedef enum { E_MDN_RESPONSE_POLICY_NEVER, E_MDN_RESPONSE_POLICY_ALWAYS, E_MDN_RESPONSE_POLICY_ASK } EMdnResponsePolicy;
Policy for responding to Message Disposition Notification requests (i.e. a Disposition-Notification-To header) when receiving messages. See RFC 2298 for more information about MDN requests.
Never respond to an MDN request. | |
Always respond to an MDN request. | |
Ask the user before responding to an MDN request. |
Since 3.6
e_source_mdn_get_response_policy ()
EMdnResponsePolicy e_source_mdn_get_response_policy (ESourceMDN *extension
);
Returns the policy for this mail account on responding to Message Disposition Notification requests when receiving mail messages.
|
an ESourceMDN |
Returns : |
the EMdnResponsePolicy for this account |
Since 3.6
e_source_mdn_set_response_policy ()
void e_source_mdn_set_response_policy (ESourceMDN *extension
,EMdnResponsePolicy response_policy
);
Sets the policy for this mail account on responding to Message Disposition Notification requests when receiving mail messages.
|
an ESourceMDN |
|
the EMdnResponsePolicy |
Since 3.6
Property Details
The "response-policy"
property
"response-policy" EMdnResponsePolicy : Read / Write / Construct
Policy for responding to MDN requests.
Default value: E_MDN_RESPONSE_POLICY_ASK