EndTransfer Event

Fired when the message text completes transferring.

Syntax

ANSI (Cross Platform)
virtual int FireEndTransfer(SMTPEndTransferEventParams *e);
typedef struct {
int Direction; int reserved; } SMTPEndTransferEventParams; Unicode (Windows) virtual INT FireEndTransfer(SMTPEndTransferEventParams *e);
typedef struct {
INT Direction; INT reserved; } SMTPEndTransferEventParams;
- (void)onEndTransfer:(int)direction;
#define EID_SMTP_ENDTRANSFER 2

virtual INT IPWORKSEDI_CALL FireEndTransfer(INT &iDirection);

Remarks

If MessageText is not empty, the EndTransfer event is fired when the MessageText finishes transferring from the local host to the MailServer. If MessageText is empty, the event is not fired.

If a file is attached to the MessageText via the AttachedFile property, then EndTransfer fires again when the file finishes transferring. Please go to the description of the AttachedFile property for more information.

The Direction parameter shows whether the client (0) or the server (1) is sending the data.

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