Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
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.
Send Invite Cancel
84864members
354353posts

DCE Gmail mail sending solution

EcoStruxure IT forum

A support forum for Data Center Operation, Data Center Expert, and EcoStruxure IT product users to share knowledge on installation, configuration, and general product use.

Solved
GaborNovak
Ensign
Ensign
0 Likes
5
1631

DCE Gmail mail sending solution

Our customer has Gmail corporate account, he would like to use this Gmail account to send notification via DCE and Netbotz 570 devices. They don’t use two-step authentication.

For some reason they can’t send out via DCE server email notification. We have tried to make an application password. But the result is the same.

If I’m current this application password is used just when the two-step authentication is used.

I have read the threads in the forum which are related to Gmail email notification, but it doesn’t helped me.

 

 

How can we setup the DCE notification settings to use the Google system to send email notifications.

Tags (1)

Accepted Solutions
Shaun
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
4
1613

Re: DCE Gmail mail sending solution

Hi @GaborNovak,

 

This should work; the From address should be associated with the (Google) account, the smtp server will be smtp.gmail.com, port 587, with STARTTLS enabled.  The username should be the full email address, and the password - as I understand it you're correct, their account password if they're not using 2FA, or an app password if they are.

 

They may also need to enable "less secure apps" on their account - https://support.google.com/accounts/answer/6010255 (as I understand it, "less secure" in this context is using user/pass instead of OAuth with roles.  It's secure in that it's entirely over TLS etc, but Google have a strong preference for role-based authentication so that the login can be permitted restricted rights.)

 

On corporate accounts they may find gmail's smtp-relay more appropriate also - https://support.google.com/a/answer/176600

 

I've only tested this on 7.8.0 - ensuring they're up to date would be strongly recommended.  SSL/TLS are constantly moving targets, and gmail is particularly strict about it.

 

Failing this, do they get an error message when they use the "test email settings" button in the smtp config?

See Answer In Context

Tags (1)
5 Replies 5
Shaun
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
4
1614

Re: DCE Gmail mail sending solution

Hi @GaborNovak,

 

This should work; the From address should be associated with the (Google) account, the smtp server will be smtp.gmail.com, port 587, with STARTTLS enabled.  The username should be the full email address, and the password - as I understand it you're correct, their account password if they're not using 2FA, or an app password if they are.

 

They may also need to enable "less secure apps" on their account - https://support.google.com/accounts/answer/6010255 (as I understand it, "less secure" in this context is using user/pass instead of OAuth with roles.  It's secure in that it's entirely over TLS etc, but Google have a strong preference for role-based authentication so that the login can be permitted restricted rights.)

 

On corporate accounts they may find gmail's smtp-relay more appropriate also - https://support.google.com/a/answer/176600

 

I've only tested this on 7.8.0 - ensuring they're up to date would be strongly recommended.  SSL/TLS are constantly moving targets, and gmail is particularly strict about it.

 

Failing this, do they get an error message when they use the "test email settings" button in the smtp config?

Tags (1)
GaborNovak
Ensign
Ensign
0 Likes
3
1598

Re: DCE Gmail mail sending solution

@Shaun 

 

Thanks for your reply the first link is not valid in your message.
I get the message, this site can’t be found.
I will send this to the customer and reply.

Tags (1)
Shaun
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
2
1593

Re: DCE Gmail mail sending solution

Hi - sorry about that, it's fixed now.  I accidentally picked up an extra space in the link.

Tags (1)
GaborNovak
Ensign
Ensign
0 Likes
1
1553

Re: DCE Gmail mail sending solution

@Shaun 

 

Thanks, this solution worked well.

In this site we have can now send notification via Gmail. We have a NetBotz 570 in this site, which is connected to the DCE server private lan port. The public lan port is used to communicate with the corporation network and Gmail. All monitored device is connected to the private lan port.


When we setup such a system we use the DCE server as the gateway to the NetBotz 570. We have tried to send notification mail via Gmail with the NetBotz 570. The email could not be sent.

The NetBotz gateway is the DCE server private IP  address.

 

Can you give me a description how to setup the NetBotz 570 email settings to send notification emails via Gmail?

Tags (1)
GaborNovak
Ensign
Ensign
0 Likes
0
1487

Re: DCE Gmail mail sending solution

Does anybody knows the solution how to setup NetBotz 570 to send Gmail notifications?

The configuration is mentioned above. The NetBotz is connected to the private port of the DCE server.

Tags (1)