# E-mail node - use secure connection

**URL:** <https://discourse.nodered.org/t/e-mail-node-use-secure-connection/45437>\
**Category:** General\
**Created:** [10 May 2021 18:45 UTC](https://discourse.nodered.org/t/e-mail-node-use-secure-connection/45437 "2021-05-10T18:45:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diletant](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@Diletant](https://discourse.nodered.org/u/Diletant)\
**Post date:** [10 May 2021 18:45 UTC](https://discourse.nodered.org/t/e-mail-node-use-secure-connection/45437/1 "2021-05-10T18:45:09Z")

</div>

Hey.  
I'm using Gmail to send email with node-red-node-email node.  
For that I use port 465, but what does the "use secure connection" really means?  
TLS has its own separate checkbox, that is unchecked. What does the checkbox for "use secure connection" do in this circumstance?

Best regards

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 May 2021 07:54 UTC](https://discourse.nodered.org/t/e-mail-node-use-secure-connection/45437/2 "2021-05-11T07:54:07Z")

</div>

Hi - they are from the underlying nodeMailer library - [SMTP transport :: Nodemailer](https://nodemailer.com/smtp/#tls-options)  
so secure should be ticked (true) if you want to use TLS... though even if not selected it will try to upgrade to TLS if the server supports STARTTLS (but the initial connection won't be secure).  
All the other does is just control the rejectUnauthorized flag.

(so yes could be made more clear)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 July 2021 07:54 UTC](https://discourse.nodered.org/t/e-mail-node-use-secure-connection/45437/3 "2021-07-10T07:54:35Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
