Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

NMC2 and Gmail SMTP

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

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
  • Communities
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • NMC2 and Gmail SMTP
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the Exchange 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
Top Experts
User Count
BillP
Administrator BillP Administrator
5022
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All
Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
robotvoice_apc
Ensign robotvoice_apc
Ensign

Posted: ‎2021-07-01 03:23 AM

0 Likes
10
954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

NMC2 and Gmail SMTP

This was originally posted on APC forums on 6/4/2013


I recently upgraded my NMC2 firmware to the latest rev and have not been having any success setting up SMTP notifications with my Gmail account.

My last email test results failed:

Last Test Result: Test email failed; SMTP configuration error.

Last Server Response: No data.

Any help would be appreciated. Thanks.

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/18/2013


What mode is your authentication set to - If supported, Always, or implicit? I've gotten this to work on Gmail personally so I am not really thinking firmware bug yet since this is one of the main new features so I know it has been well tested. Also, config.ini would be helpful too.

See Answer In Context

Reply
Share
Replies 10
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/18/2013


The other thing I thought of - does your server require an SSL cert to be presented to send the email? There is a setting for "Require CA Root Certificate" and you can load an SSL certificate. Just wondering since it is disabled on yours but I imagine you might have caught that setting prior or know if its required for sending email using SSL.

Reply
Share
robotvoice_apc
Ensign robotvoice_apc
Ensign

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This was originally posted on APC forums on 6/4/2013


I recently upgraded my NMC2 firmware to the latest rev and have not been having any success setting up SMTP notifications with my Gmail account.

My last email test results failed:

Last Test Result: Test email failed; SMTP configuration error.

Last Server Response: No data.

Any help would be appreciated. Thanks.

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/4/2013


Hi robotvoice,

Can you provide the config.ini please and post here? You can get this from Configuration->General->User Config File *download* in the web UI. I can tell how you have it configured from that file.

I find it easier to add a recipient and use the custom server option so you can specify smtp.gmail.com for the server and then the SMTP port and SSL authentication option. It sounds like it might be set up incorrectly and I can help.

Reply
Share
robotvoice_apc
Ensign robotvoice_apc
Ensign

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This was originally posted on APC forums on 6/4/2013


I noticed I had a typo under the email server settings when I was looking over the config file. I fixed that and now I am getting a DNS error instead of an SMTP error when I test the email again. I have attached my config.ini

DNS settings should be right on my end but please let me know if I missed something obvious. Thanks.

Attachments
config.ini.zip
Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/4/2013


OK - can you do a DNS test via the card by FQDN or host and do smtp.gmail.com? (Configuration->Network->DNS->Test in web UI)

If the card cannot resolve smtp.gmail.com then we have to look into that. You can also check your event log and see if its full of DNS errors. Or switch your primary and secondary for testing since I see you're using 8.8.8.8 as your secondary and an internal IP for your primary.

I am doing it and here is what I see:

1228_%24317FA26DE09E4F81.jpg

Reply
Share
stevejenkins_apc
Lieutenant JG stevejenkins_apc
Lieutenant JG

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This was originally posted on APC forums on 6/18/2013


I'm having a similar issue -- unable to use any TLS/SSL authentication to send notification emails. NMC passes DNS tests for FQDN of smtp.gmail.com.

First attempt was with server smtp.gmail.com, with full Gmail username and password, port 465. Error is "Test e-mail failed; SMTP configuration error."

Second attempt was with our own Postfix server (which requires TLS). Used the proper login credentials on port 587 (which is our SMTP submission port), and get same error.

I'm wondering if perhaps there's a bug in the NMC's SSL/TLS implementation? I can get it to work without the TLS if I whitelist the individual IP of the NMC, but that's a temporary fix and not something we can do long term. Here are the log files from the mail server when the NMC tries to authenticate:

Jun 18 08:05:49 carbonfiber postfix/smtpd[28563]: SSL_accept error from c-12-345-67-89.xxx.xxx.xxxxx.net[12.345.67.89]: lost connection

Jun 18 08:05:49 carbonfiber postfix/smtpd[28563]: lost connection after STARTTLS from c-12-345-67-89.xxx.xxx.xxxxx.net[12.345.67.89]

Reply
Share
stevejenkins_apc
Lieutenant JG stevejenkins_apc
Lieutenant JG

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This was originally posted on APC forums on 6/18/2013


I've tried all three!

With "Always" and with "If Supported" the NMC2 result is:

Last Test Result:(myaddress@gmail.com) Test e-mail failed; SMTP configuration error.
Last Server Response:220 2.0.0 Ready to start TLS

and the mail server says:

Jun 18 08:05:49 carbonfiber postfix/smtpd[28563]: SSL_accept error from c-12-345-67-89.xxx.xxx.xxxxx.net[12.345.67.89]: lost connection

Jun 18 08:05:49 carbonfiber postfix/smtpd[28563]: lost connection after STARTTLS from c-12-345-67-89.xxx.xxx.xxxxx.net[12.345.67.89]

With "Implicitly": the NMC says:

Last Test Result:(myaddress@gmail.com) Test e-mail failed; SMTP configuration error.
Last Server Response:No data.

and the mail server says:

Jun 18 08:16:51 carbonfiber postfix/smtpd[28956]: lost connection after UNKNOWN from c-12-345-67-89.xxx.xxx.xxxxx.net[12.345.67.89]


(config file attached)

Attachments
config.ini.zip
Reply
Share
stevejenkins_apc
Lieutenant JG stevejenkins_apc
Lieutenant JG

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This was originally posted on APC forums on 6/18/2013


OK - just got it to work with Gmail as the SMTP server. "From" address has to username (full Gmail address) and TLS must be set to "Implicitly"

But it's still not working on our own internal SMTP server, even though the server response according to the NMC is "Ready to start TLS" - which means it's waiting for the NMC to authenticate.

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
953
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/18/2013


I don't suppose you can do a packet capture? I know we've had issues in the past for example with the 220 response was too large and over ran a buffer previously.

If not, the error information here might be good enough for me to research further but I figured a packet capture might avoid further questions.

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM

0 Likes
0
954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

Posted: ‎2021-07-01 03:23 AM

This reply was originally posted by Angela on APC forums on 6/18/2013


What mode is your authentication set to - If supported, Always, or implicit? I've gotten this to work on Gmail personally so I am not really thinking firmware bug yet since this is one of the main new features so I know it has been well tested. Also, config.ini would be helpful too.

Reply
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc