SimpleMail

The SimpleMail component sends an e-mail message by SMTP.
When transporting using a SSL protocol, the certificates registered by a management console are used, then the data will be transported following a public key infrastructure.

Stream Information

Input1FormatAll
Number of Inputs1
Description If UseStream property is true, it is used as a mail body.
If false, it is not used.
Input2FormatAll
Number of InputsUnlimited
Description It is displayed when Attachment property is true.
These are used as attachment files.
If input stream is "MIME", these are used as attachment of "Content-Type" of "multipart/mixed". If input stream is other type, each stream is used as attachment file.
If input stream has the Stream Variables "FilePath", then its value is used as the attachment's filename. Otherwise, a program-generated filename is used.
If input stream has the Stream Variables "MIMEType", then its value is used as the attachment's "Content-Type". Otherwise, the system will automatically assign a "Content-Type" depending on the input stream's format.
OutputFormatText
Description

The input stream is copied to the output stream.

Input Stream Variables(Input2)

NameData TypeDescription
FilePathStringIf set, the attachment file's name takes this variable's value.
MIMETypeStringIf set, the attachment file's Content-Type takes this variable's value.

Component Properties

NameData TypeMappingDescription
Connectionconnection- The SMTP connection to use to connect to the server. The connections are defined in the Connection Pane of Flow Designer or the Flow Service Management Console.
FromstringIn & Out The sender's mail address. A display name can be provided by using syntax like "John Smith <jsmith@infoteria.co.jp>".
TostringIn & Out The destination mail address. This field supports multiple addresses separated by a semicolon (;) or a comma (,). Each address can provide a display name in the same manner as described for the From field above.
CcstringIn & Out The carbon copy recipient's mail address. This field supports multiple addresses separated by a semicolon (;) or a comma (,). Each address can provide a display name in the same manner as described for the From field above.
BccstringIn & Out The blind carbon copy recipient's mail address. This field supports multiple addresses separated by a semicolon (;) or a comma (,).
SubjectstringIn & Out The message's Subject field.
UseStreamboolean- Specifies if input stream is set to the message body or not.
true [true] - Input stream is set to the message body.
false [false] - The value of Body is set to the message body.
BodystringIn & Out If UseStream property is false, it is used as a message body.
KeepConnectionboolean- Specifies if the connection to the server is kept in each flow execution.
true [true] - A single connection to the SMTP server is used for all messages sent during a single flow.
false [false] - A new connection to the SMTP server is established for each message sent during a single flow.
Attachmentboolean- Specifies whether use attachment.
If True, the size of component changed, and display input connector for attachment.
Please map the stream to attach files.
true [true] - Use attachments
false [false] - Don't use attachment
AdditionalHeaderscategoryIn & Out Specifies the names of additional headers other than the standard available properties (for example, Subject, Body and To), and their default values to be included in the mail message's header.

Transaction

CommitDo nothing
RollbackDo nothing

Exceptions

TypeParameterStream for error handling flowError
Code
Description
Exception None This component's input stream - The Connection can not be found.
- Can not connect to the SMTP server.
- The SMTP server returns an error.