Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Alarm Email notifications with a 3rd party mail account (SMTP)

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • Alarm Email notifications with a 3rd party mail account (SMTP)
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • DavidFisher
    DavidFisher
  • CraigEl
    CraigEl
  • sesa139513
    sesa139513
  • Product_Support
    Product_Support

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
1 Like
16916 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Alarm Email notifications with a 3rd party mail account (SMTP)

Picard Product_Support
‎2018-09-10 05:06 AM

Last Updated: Administrator CraigEl Administrator ‎2022-08-11 05:17 PM

Issue

  • Email notifications from 3rd party email account such as Gmail, Hotmail, Yahoo
  • SMTP issues
  • Event notification

Product Line

EcoStruxure Building Operation

Environment

StruxureWare Building Operation site with any of the following: AS, ES, Reports Server

Cause

Sending notifications to Gmail, Yahoo mail, Hotmail, or other outside email account.


Wanting to use other SMTP than Schneider Electric E-mail Server:
if wanting to setup an ES or AS to send email notifications with third party SMTP, an Exchange server using port 25 supports the notifications.

In release 1.7.1 and earlier though Gmail, for example, suggests port 465 and 587, the workstations alarms that the email can not be sent since it cannot connect to email server. The problem is with the Gmail-account and often other 3rd party email providers both public and private, Google requires that you connect with SSL, which have been missing in the requirements and therefore these releases do not have this functionality.

In release 1.8.1 and later, you can send emails not encrypted or encrypted using either the TSL or the SSL protocol. You can select one method for the primary email server and another method for the secondary email server. The Schneider Electric Email Server does not support encrypted emails.

When logging on to the email server, the user is authenticated using an authentication protocol. If no user name is specified, no authentication protocol is specified. If a user name is specified, the SmartStruxure server tries to authorize the user using the CRAM-MD5 protocol. If the first authentication fails, the SmartStruxure server tries to authorize the user using the LOGIN protocol using the CRAM-MD5 protocol.

Resolution

In Email Notification put the 3rd party email address such as yourname@mailprovider.com. AS and ES will use the Schneider Electric SMTP server or the POP server of your choice to send the email notification. For multiple emails, check Multiple Email Addresses for Email Notifications or Alarm Recipients. Sometimes the mail is put in the Spam folder for the recipient. Check there and change settings to Not Spam.

Installing a valid SSL certificate for the Enterprise Server to allow SSL operation is not planned in a future version. Currently, the default certificate does not identify the system and is not trusted, but nevertheless enables SSL operation.

ESMTP (Extended) is not supported through current release.
Base64 SMTP authentication is not supported.


Wanting to use SMTP other than Schneider Electric E-mail Server:

An Exchange server or SMTP server which supports POP and uses port 25 supports AS and ES Notifications. Other servers which would require the setting of Primary/Secondary E-mail server fails to login to SMTP Server require an encrypted (SSL/TLS) connection which is not supported in Struxureware Building Operation versions up to and including 1.7.1. A solution is to use an SMTP proxy on the ES or another computer on the network that will handle the TLS/SSL authentication.

Release 1.8.1 and later support TLS and SSL for email authentication natively.


Using SmtpProxy on an Enterprise Server

SmtpProxy is a small freeware application that listens on a port you choose; the default port is 25. When SmtpProxy detects a connection on this port, it does the following:

  • Connects to the SMTP server you configure (GMail / Microsoft Live Mail / any other SMTP server)
  • Starts an encrypted connection with the SMTP server
  • Returns the connection information to the ES

After the initial connection is established, SmtpProxy acts as a middleman. Any SMTP data received from the ES is forwarded to the SMTP server and any data returned from the SMTP server is sent the ES.

SmptProxy runs as a Windows service so it can be installed on a LAN server and used by multiple devices such as AS. Note that SmtpProxy does NOT login to the SMTP server but rather credentials are passed through from the ES or AS.

Note: SmtpProxy is a third party application and therefore no support is provided by Schneider Electric.

Installing SmtpProxy

SMTPProxy can be downloaded from http://smtpproxy.codeplex.com/ The download is a Windows Installer (MSI) file that can be used to install SmtpProxy on any machine that supports the .NET Framework v4 – Client Profile.

Configuring SMTPProxy for Gmail

SmtpProxy is configured using a config file. A sample config file is installed with SmtpProxy, this is a plain text file that can be edited with Notepad. Create a copy of the sample config file and rename it to:

  • On 32 bit machines: C:\Program Files\SmtpProxy\SmtpProxy.exe.config
  • On 64 bit machines: C:\Program Files (x86)\SmtpProxy\SmtpProxy.exe.config

The following items can be configured with SmtpProxy’s config file:

  • SmtpProxy can write a log of all its activities. The default file to write the log file to is SmtpProxy.trace.log.
  • SmtpProxy can log several different types of activities. You can control what is written to the log file by setting the log switches. By default, they are set to Off so nothing is written to the log file. Valid switch values are Off, Error, Warning, Info, and Verbose with each one providing more information than the last. Once you have SmtpProxy working, you should turn logging Off.
  • The Url to the SMTP server. Default is smtp.live.com.
  • The SMTP server port. Default is 587.
  • The port to listen on. Default is 25.

Scroll to the end of the config file and locate the section SmtpProxy.Properties.Settings section and find the string mail.live.com

SmtpProxy_live.png

Edit this to smtp.gmail.com

SmtpProxy_gmail.png

After modification, you must restart the Smtp Proxy service from the services control panel for the new settings to take effect.

ServicerRestart.png

Configuring ES to use SmtpProxy

Right click on the Server in the tree and select Properties then click the Email tab
Select Primary/Secondary E-Mail Server
Enter Sender E-mail (e.g. Mysite@gmail.com)


Under Primary E-Mail Server Settings enter

Host: localhost (or 127.0.0.1)

Enter the users account information.
User name: e.g. gmailaccountname@gmail.com
Password: MyPassword
Confirm: MyP

MailServerSettingsES.png

Labels (1)
Labels:
  • EcoStruxure Building Operation
Tags (11)
  • Find more articles tagged with:
  • 16747.
  • 552
  • 6857
  • alm
  • database
  • enhanced
  • enhancement
  • gmail
  • request
  • simple
  • transport
Was this article helpful? Yes No
80% helpful (4/5)

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of