Configuring outbound email in Dev Studio
Configure an email account to determine the email server and account details for sending email in your application. These accounts are used in the email listener and email channel to read emails and create or update cases, or send automatic replies and notifications.
- In the navigation pane of Dev Studio, click Records.
- Expand the Integration-Resources category, and then click Email Account.
- Click Create.
- On the Create Email Account page, enter a short description and an account name.
- Click Create and open.
- In the Account provider section, in the Email
provider list, select an email provider.
- In the Sender section, in the Send using
field, select an email protocol:
Choices Actions SMTP - In the Identity subsection, in the Email address field, enter the email address that is associated with outgoing email.
- In the Display name field, enter the name to display for this sender.
- In the User ID field, enter the SMTP user ID that sends email from this host.
- In the Password field, enter the sender password.
- In the Reply to field, enter the email address to which the recipients of outgoing emails can reply. Use a working, valid email address that a person reviews or that the system processes.
- Optional: In the Connection subsection, edit the information in
the SMTP host and Port
fields.The following default outgoing email connection options are available:
- 25 (unsecured)
- 587 (STARTTLS)
- 465 (SMTPS)
Microsoft Graph - In the Identity subsection, in the User
principal name field, enter the user principal name that is
associated with the inbox from which you want to send email.Typically, the user principal name is the same as the email account ID, but that setting depends on your Microsoft Office 365 configuration. For more information about what to enter in this field, see your Microsoft Office 365 documentation or contact your administrator.
- In the Reply to field, enter the email address to
which the recipients of outgoing emails can reply.Use a working, valid email address that a person reviews or that the system processes.
- Optional: In the Advanced section, enter a value for the timeout key or accept the default.
- Configure the authentication details for the email protocol:
Choices Actions SMTP - Optional: Choose the protocol to use to send email messages through this server.
- SMTPS
- STARTTLS
- In the Lowest allowable SSL/TLS version field, select
the lowest version of the protocol that you want to allow to communicate with an
external server. The default value is TLS version 1.2.
- Optional: If you are using JDK, the SSL/TLS version defaults to the latest version
supported by JDK. To override the Java mail setting and set the TLS to a
specific version, add the
-Dmail.imaps.ssl.protocols="smtp"
JVM option to your startup parameters.For more information, refer to your Java developer documentation. - In the Truststore field, press the Down arrow key and
select the keystore that holds your truststore certificates.If the keystore does not exist, you can create a new keystore by entering a name and then clicking the rule opener. For more information, see Keystores.
SMTP with Google Mail - In the Authenticate using field, choose your
authentication method:
- Password: Enter a password to authenticate the request to the email server.
- OAuth token: Press the down arrow key to select an existing OAuth 2.0 authentication profile, or click the rule opener to create a new authentication profile.
- To configure certificates to connect to the mail server, see the steps in the SMTP section.
Microsoft Graph - In the Connection subsection, in the
Authentication profile field, press the Down arrow key,
and then select the authentication profile that you want to use for your email
account.
- Optional: To create a new authentication profile, click the rule opener.
- Optional: Choose the protocol to use to send email messages through this server.
- Optional: For SMTP connections, to enable digitally signed email for your application, in the
Message signing section, configure the keystore settings:
- In the Keystore instance field, enter a Keystore data
instance. For more information, see Keystores.
- Optional: To name the key, in the Alias field, choose the alias of the
key in the keystore to use for signing. If you leave this field blank, the system selects the first key in the keystore.
- In the Keystore instance field, enter a Keystore data
instance.
- Optional: For SMTP connections, to override the email sender default settings, in the
Advanced section, update the settings:
- Optional: To test the connectivity of your sender configuration, click Test
connectivity.
- Click Save.
Previous topic Configuring inbound email in App Studio Next topic Configuring inbound email in Dev Studio