Domain Property
The sender host's domain name for HELO/EHLO.
Syntax
ANSI (Cross Platform) char* GetDomain();
int SetDomain(const char* lpszDomain); Unicode (Windows) LPWSTR GetDomain();
INT SetDomain(LPCWSTR lpszDomain);
@property (nonatomic,readwrite,assign,getter=domain,setter=setDomain:) NSString* domain; - (NSString*)domain; - (void)setDomain:(NSString*)newDomain;
#define PID_SMTPCLIENT_DOMAIN 34 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SMTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SMTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property before calling the Connect method to provie the domain name of the sender's host.
Data Type
String