AllowExtensions Property

A switch allowing the class to use ESMTP features (SMTP extensions).

Syntax

ANSI (Cross Platform)
int GetAllowExtensions();
int SetAllowExtensions(int bAllowExtensions); Unicode (Windows) BOOL GetAllowExtensions();
INT SetAllowExtensions(BOOL bAllowExtensions);
@property (nonatomic,readwrite,assign,getter=allowExtensions,setter=setAllowExtensions:) BOOL allowExtensions;
- (BOOL)allowExtensions;
- (void)setAllowExtensions:(BOOL)newAllowExtensions;
#define PID_SMTP_ALLOWEXTENSIONS 1

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

TRUE

Remarks

This property is a switch allowing the class to use ESMTP features (SMTP extensions). If this property is true, the class will first send the EHLO greeting to the server and, if that fails, the standard HELO command will be sent.

This property is true by default but may be disabled if it's known in advance that the MailServer doesn't support SMTP extensions.

This property is not available at design time.

Data Type

Boolean

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