Framework EDI Reference. Methods and Properties
ediSmtpCfg. AddCc

Adds a recipient that will receive a copy of the message.

Syntax:

Parameters:

Returns:

Returns 1 if successful; otherwise returns 0 if operation failed.

Remarks

The email address specified in sRecipientCc and the parameter sRcptToParameter are used in the SMTP command RCPT TO for specifying the address of the recipient that is to receive the SMTP message.  The syntax of the command is as follows:

RCPT TO:<forward-path> [ <space> <rcpt-parameters> ] CRLF

Where:

When Framework EDI automatically generates and sends the message during the DATA communication phase, the message will contain a CC header showing the sRecipientCc address.

To export the message sent to the server to a file, specify the full path name of the export file in the SendFileOutput property. 

For additional information, see RFC 2821: Simple Mail Transfer Protocol.


Samples