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

NMC2 and Gmail SMTP

APC UPS Data Center & Enterprise Solutions Forum

Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.

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
  • 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 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
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
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
Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:53 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:53 PM

NMC2 and Gmail SMTP

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

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Replies 10
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Posted: ‎2021-07-01 03:23 AM . Last Modified: ‎2024-03-05 10:52 PM

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

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

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
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