Configuring Email API in ScriptCase

Configuring Email API in ScriptCase

In ScriptCase, we can configure and enable 3 types of Email API natively. They are: SMTP, Mandrill and Amazon SES.

For this article, we will use the SMTP option, which is the most commonly used, as an example.

Getting SMTP Server Information

There are several services that have email providers with SMTP server information, such as Google, Microsoft, and so on. In addition, it is common to see web hosting services, and for this example, we will use the SMTP server of the ScriptCase Host hosting service, where we can easily obtain the necessary information to enable the SMTP API in ScriptCase.

When accessing cPanel, we go to the "Email Accounts" option, which is located right in the first block, called "Email":


We will notice that our account will already be enabled for use, and we go to the "Connect Devices" option, where the SMTP server information will be:


In the "Mail Client Manual Settings" block, we will find the necessary information for SMTP configuration. Remembering that the SMTP server is the outgoing server, unlike other available protocols (POP3 and IMAP), which are incoming servers.



Enabling SMTP Email API in ScriptCase

With the information in hand, let's enable the API in ScriptCase. The first step is to go to the option "Tools -> API", which is located in the horizontal top menu of the tool.


Let's go to the "Add new" option to add the new API profile.


The modal will already open selected in the Gateway "SMTP", and we will fill in the information according to what is requested in each field. A small detail for the fields "SMTP Port" and "SMTP Protocol", where you need to fill in 465 for the first, and SSL or TLS for the second. We click on "Save", and soon our API will be active for use:




    • Related Articles

    • Configuring SMS API in ScriptCase

      In ScriptCase, we can configure and enable 3 types of SMS API natively. They are: Twilio, Plivo and Ckickatell. For this article, we will use the Twilio SMS API as an example, where we have the possibility to perform a free trial, as well as the ease ...
    • Configuring the Google Authenticator API in ScriptCase

      The Google Authenticator API can be very simply configured to be used primarily in the two-factor authentication (2FA) of the security module. In this article, we will show you how to perform this configuration in ScriptCase. Download the Google ...
    • Enabling Amazon S3 API

      This tutorial shows you how to obtain access credentials for S3 storage. 1) Create a new AWS account, and then log in as root User, entering the email and password that were informed in the registration. If you already have an account, proceed to the ...
    • Email Export in Grid

      In the Query applications, you can configure the email export. This feature is used to export the Grid and send the export directly by e-mail to the configured recipients. E-mail export settings can be visualized in the Email export menu. Next, you ...
    • Email Export in Charts

      In Chart applications you can configure the export by email feature. This feature is used to export the Charts and send the export directly by e-mail to the configured recipients. The e-mail export settings can be viewed in the Email Export menu. ...