Using an SMTP server

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Process wizard > Business Rules > Defining notifications > Email server configuration >

Using an SMTP server

Bizagi needs to use an SMTP server that handles email sending to different email servers.

 

This SMTP sender server behaves as your local “electronic post office,” where all the notifications that must be sent are received and queued. Then each notification is sent to the correspondent destination “electronic post office” through your Internet Service Provider. Finally, the destination SMTP server sends each notification.

 

SMTP_1

 

Before sending the body of the e-mail, the sender SMTP gets the location of the receiver looking at its IP address. To do that the SMTP sender searches in the Mail Exchanger record, which holds the association of a DNS, for example, mydomain.com, with its IP. Once the location is obtained, the sender SMTP server establishes a session with the SMTP receiver and validates that the e-mail address is valid. Finally, the SMTP sends the body of the message. This session is opened using commands from the SMTP standard.

 

SMTP_2

 

For an email, the steps to open and send a notification are the following:

1.Open session.

2.Get the IP address of the SMTP receiver in the Mail Exchanger. The mail exchanger contains the DNS of servers and gives back the IP address.

3.Validate the sender.

4.Validate the receiver.

5.Send data.

6.Close session.

 

Bizagi sends all email notifications using the SMTP protocol from the BPM server to your sender SMTP server. That is why the only configuration you need is to set the SMTP server from the environment configuration.

 

SMTP_3

 

You can configure an SMTP in two ways:

Using your SMTP server.

Using a Internet Service Email provider like Gmail.

 

If you use an Internet Service Email provider, such as Gmail or Office 365, your SMTP server behaves as a relay, or a third-party, between Bizagi and the email provider server.

 

SMTP_4

 

The following articles explain how to configure an SMTP server as sender or as a relay.