SMTP_SendFromMimeFile

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Mail > Configurazione e metodi SMTP >

SMTP_SendFromMimeFile

Service

Mail

 

Method

SMTP_SendFromMimeFile

 

Description

Reads and sends a mail message from the specified local file in MIME format.

 

Input

Name

Description

Type

Optional

mimeFilePath

The path to the mail message file (in MIME format).

String

 

config

Optional configuration values that override the static configuration values (SMTP Config Structure).

Dataset

Y

Output

returnValue

A List containing a Dictionary for each rejected recipient (see "SmtpRejectedRecipient structure").

List of dataset

 

 

Remarks

Both sender and the list of recipients are extracted from the message. The sender address is taken from the “Sender” header field or from the first address in the “From” field if the “Sender” is missing. The list of recipients comes from “To”, “Cc” and “Bcc” header fields. Also, the “Bcc” field is removed from message headers prior to sending.