Priority Property

Priority of the mail message (optional).

Syntax

ANSI (Cross Platform)
int GetPriority();
int SetPriority(int iPriority); Unicode (Windows) INT GetPriority();
INT SetPriority(INT iPriority);

Possible Values

EP_UNSPECIFIED(0), 
EP_NORMAL(1),
EP_URGENT(2),
EP_NON_URGENT(3)
@property (nonatomic,readwrite,assign,getter=priority,setter=setPriority:) int priority;
- (int)priority;
- (void)setPriority:(int)newPriority;

Possible Values

EP_UNSPECIFIED(0), 
EP_NORMAL(1),
EP_URGENT(2),
EP_NON_URGENT(3)
#define PID_SMTP_PRIORITY 36

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

When this property is set, a Priority header will be added to the message. Priority is an indication about the delivery priority of the message. The possible values are epNormal, epUrgent, and epNonUrgent.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]