Designing and Executing Processes : Process Steps and Associated Components : Invoker Step : SMTP E-mail Invoker
 
Share this page                  
SMTP E-mail Invoker
SMTP E-mail Invoker supports sending of text and binary attachments.
E-mail components support encoding in all character sets when e-mail is sent and received. The message header and body are encoded in the character set specified by the MIME type. The e-mail components support only Base64 and other MIME encoding. Enriched encoding is not supported.
The following table provides the supported content types.
Content Type
Details
text/*
Text
HTML
image/*
.gif
.jpg
application/*
All applicable file extensions such as .doc, .xls, and .zip.
Note:  The SMTP Email Invoker component implicitly trust the certificates presented by the email servers that require SSL or TLS connections, regardless of the issuer.
SMTP E-mail Invoker Properties
 
Property
Description
User Name
Type a valid user name. Required if SMTP Authentication is set to True. For anonymous login, leave blank.
Password
Type a valid password. Required if SMTP Authentication is set to True. For anonymous login, leave blank.
Server Name
Type a valid server name.
Port
Port number. Default is 25.
Note:  If the default port is not used, then the component assumes a secure (SSL or TLS) connection is required.
ConnectionTimeOut
Connection time-out in seconds. The default is 90.
Retry Count
Number of attempts the server tries to establish connection when connection times out or fails. Default is three attempts.
From
E-mail address of sender.
Reply-To
E-mail address for replies.
To
E-mail address of recipient.
To List
Full path to a text file that contains e-mail addresses (comma-separated).
Subject
Subject of the message.
SMTP authentication
If set to True, the server requires a user name and password to send an e-mail. The default is True.
Encoding String
Encoding string required for the e-mail. Default is ISO-8859-1.
Supported Actions
 
Action
Description
Connect
Establishes a connection to a SMTP server, which is useful when you are testing your configuration.
Execute
Executes the supported parameters and properties.
Disconnect
Breaks the connection with an SMTP server which is useful when you need to disconnect before a process is complete.
Supported Action Parameters
 
Action
Parameter
Description
Execute
SourceMessage
Input message
Errors
Errors are generated when e-mail messages cannot be sent or received. Typical errors include the following:
Connection time-out
Unable to disconnect from the e-mail server
Errors while sending e-mail messages
Errors while receiving e-mail messages
Miscellaneous or unknown errors
All errors are written to an error log, which you can use to diagnose and troubleshoot the problem. Error messages specify whether a problem occurred while receiving or sending.
The error log also contains error codes that help you identify and understand the cause of the error. The following table describes error codes generated while sending or receiving e-mail.
Code
Description
19
Unable to connect to the mail server
27
Unable to disconnect from the mail server
8
Unable to send e-mail
4
Unable to receive e-mail
50
Unknown error
1
End of File
12
No more messages to download
0
Messages sent or received successfully