system_objs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
system_objs [2019/04/25 21:04] wikiadminsystem_objs [2019/06/19 18:27] – [Report] ingrid
Line 367: Line 367:
  
   * **SMTP server** Default server hostname of the desired e-mail service. For Gmail the server is "smtp.gmail.com".   * **SMTP server** Default server hostname of the desired e-mail service. For Gmail the server is "smtp.gmail.com".
-  * **Server port** Default server listening port. This port is usually 25 for not encrypted connection it is 465 or 587. For Gmail accounts it can be both 465 or 587.+  * **Server port** Default server listening port. This port is usually 25 for not encrypted connection. For Gmail, use port 465 for SSL and 587 for TLS.
   * **From** E-mail address specified in the sender field; if this property is empty in the e-mail will appear noreply@thinknx.com in the from field. For Gmail account and for many other this field must be filled with the proper sender email address ("my_email@gmail.com")   * **From** E-mail address specified in the sender field; if this property is empty in the e-mail will appear noreply@thinknx.com in the from field. For Gmail account and for many other this field must be filled with the proper sender email address ("my_email@gmail.com")
-  * **Authentication** Enable or disable SMTP user authentication by means of username and password.\\ If the property ”Authentication” is set to ”Enable”, the following properties will appear:+  * **Authentication** Enable or disable SMTP user authentication by means of username and password. It is necessary to enable it when using Gmail server. \\ If the property ”Authentication” is set to ”Enable”, the following properties will appear:
     * Username: E-mail address used as username of the e-mail account or any other authentication string. For Gmail it must be the email address ("my_email@gmail.com")     * Username: E-mail address used as username of the e-mail account or any other authentication string. For Gmail it must be the email address ("my_email@gmail.com")
     * Password: Password of the e-mail account.     * Password: Password of the e-mail account.
Line 377: Line 377:
 Here's how to find this Gmail security option: Here's how to find this Gmail security option:
   * Open your web browser, e.g., Internet Explorer, Safari, Mozilla Firefox, Google Chrome, Opera, etc.   * Open your web browser, e.g., Internet Explorer, Safari, Mozilla Firefox, Google Chrome, Opera, etc.
-  * Go to the www.gmail.com web site.+  * Go to https://myaccount.google.com/security.
   * Sign into your account.   * Sign into your account.
-  * At the top rightclick the colorful circle containing a capital letter (usually the first letter of your first name)+  * Scroll down to the "Less secure app access" section. If you are using the 2-step verification when signing inyou will not be able to see this section. Disable the 2-step verification option in order to enable the "Less secure app access"
-  * In the menu that appears, click "My Account." +  * Turn this option "ON". 
-  * A new browser tab or window will open+ 
-  * Under "Sign-in & security" click "Apps with account access." +After configuring the Email Account in System, you can now send emails through a generic button or using the Report object as well
-  * Scroll down and look at the "Allow less secure apps" option on the rightTurn the option "ON"+  * When using the Generic Command button, select Internal Services --> Email Account --> Your Email Account object --> Send email to recipients and fill the parameters as desired
 +  * When using the Report object, select Report from System tab, and disable the Default SMTP in the parametersThen select your Email Account from the dropdown list instead.
 ==== Object commands ==== ==== Object commands ====
  
Line 826: Line 827:
   * **Use default SMTP** SMTP server determines the email sender address; if enabled, email messages are sent from the default SMTP; if not, the following property is displayed:   * **Use default SMTP** SMTP server determines the email sender address; if enabled, email messages are sent from the default SMTP; if not, the following property is displayed:
   * **Email Account** Select the ”Email account” item from the list. Please refer to the dedicated section above.   * **Email Account** Select the ”Email account” item from the list. Please refer to the dedicated section above.
 +<wrap important> it is always advised to disable the Default SMTP and create an Email Account object in System to be used here. See section [[system_objs#email_account| Email Account]] for more information. </wrap>
 ==== Adding recipients ==== ==== Adding recipients ====
  
  • system_objs.txt
  • Last modified: 2024/03/16 09:42
  • by wikiadmin