Select to view content in your preferred language

GeoEvent Server Global Settings: SMTP [Email Server] Settings

3187
3
04-03-2019 09:16 AM
EricIronside
Esri Regular Contributor
0 3 3,187

GeoEvent Server 'Global Settings' provide a way in GeoEvent Server to review and modify global configuration settings. These property settings apply to the entire GeoEvent Server configuration, and may be used as defaults in various places. For example, when a GeoEvent Connector needs to define SMTP settings for sending an email, it will start with the global system setting values, then allow you to modify those settings for the specific component you are creating.

SMTP System Settings

The following system settings may be helpful in pre-configuring your SMTP server settings or adding a new text messaging carrier.  If you intend to create several text or email outputs, you should modify these settings before you create your outputs to streamline your configuration.

SMTP Settings

  • Default SMTP server host
    • The SMTP server to use to send the text messages.
    • This will typically be your corporate email server (e.g. smtp.companyx.com).
    • If you have problems, or are using an external SMTP email server (like GMail), please see RJ Sunderman's reply to the following post: I Am Not Receiving Any Emails
  • Default SMTP port
    • The port the SMTP server listens on.
    • The default value for SMTP servers are:
      • Using anonymous authentication is 25.
      • For SSL/TLS, the default should usually be 465.
      • Other common SMTP ports are 2525 and 587.
    • You will need to contact your IT administrator to identify the port(s) over which SMTP messages can be sent in your organization. Note also that external ports may be blocked by your firewall, so check with your IT group.
  • Default SMTP authentication
    • Anonymous
      • The email server will send anything so long as the Sender's email is valid on that server.
      • If the Sender's email address is not valid the email will be discarded without error.
    • SSL (Secure Socket Layer) - an earlier version of encryption.
    • TLS (Transport Layer Security) - a later version of encryption that replaced SSL.
  • Default SMTP user name [optional, used only with SSL/TLS authentication modes]
    • Enter a username that can be used to authenticate with the SMTP server.
  • Default SMTP password [optional, used only with SSL/TLS authentication modes]
    • Enter the password for the username entered above.

More documentation on GeoEvent Server Global Settings may be found here:

http://enterprise.arcgis.com/en/geoevent/latest/administer/managing-global-settings.htm

3 Comments
BrunoGomesdeSouza
Occasional Contributor

Guys,
Gmail Policies doesn't anymore allows insecure apps to send emails through platform (Geoevent).
Major of emails servers asks for STARTTLS logins and Geoevent server just have TLS, SSL and Anonimous logins.
The Majority of sollutions that I have read here can't do the geoevent server send an e-mail with actual rules of IT group or e-mail providers.

I have configured my corporative e-mail in Geoevent server and I have received the log bellow:

BrunoGomesdeSouza_0-1668694943759.png

 

I have contacted my IT and received the answer: You must have in Geoevent Server STARTTLS option Ask ESRI About implementing it.

Did you guys have any sollutions to send e-mail throught Geoevent server that works with atual security conditions of IT group and e-mail providers?

Thanks

@EricIronside

@RJSunderman 

@Stefan_Jung 

@Anonymous User 

@JakeSkinner 

RJSunderman
Esri Regular Contributor

@BrunoGomesdeSouza -- Please submit this as a formal enhancement request through Esri Technical Support. The product development team will consider the enhancement to GeoEvent Server to support client requests it makes to an organization's SMTP server. It is possible, however, that the organization's administrator will need to disable SMTP authentication (along with StartTLS) for specific mailboxes.

Hildermes
Esri Contributor

Hello, folks! Reporting in from the future!

For future reference, many clients might have Outlook or Gmail for their corporate or personal emails. In this scenario, it has always been possible to send emails. What might be lacking is the step-by-step guide!

Let's get down to it:

For Outlook:

  1. Head to your security info page, usually at https://mysignins.microsoft.com/security.
  2. Add an App Password. This will grant you access to your account using that app-specific password.

For Gmail:

  1. Navigate to your security page, typically at https://myaccount.google.com/security.
  2. Activate two-step verification.
  3. At the bottom of the page, you can create your app password, akin to what we did for Outlook.

Now, all that's left is to know the SMTP (Simple Mail Transfer Protocol) configurations for these famous email services.

For GMAIL: There are various configurations, but the ones listed below work:

  • SMTP URL: smtp.gmail.com
  • Port: 587
  • Username: Your Gmail user email
  • Password: Your email app pass (NOT your regular password, but the special app-specific one you generated)
  • TSL

For Outlook:

  • SMTP URL: smtp-mail.outlook.com
  • Port: 587
  • Username: Your Outlook user email
  • Password: Your email app pass (NOT your regular password, but the unique app-specific one you created)
  • TSL

This setup can be employed in various applications like Geoevent, portal, Python scripts, and so on. Remember to respect the limits and configurations of your email provider. If necessary, you may need to pay if you wish to send emails massively.

Hope this helps, and remember, time travel can be fun!

About the Author
Esri Professional Services Real-Time GIS Team GeoEvent Sr. Product Enginner