From b7ff808f63b99ff05cb63096fad6040a2e124a5e Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Fri, 17 Apr 2026 11:43:52 +0200 Subject: [PATCH] Auto update --- faq.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/faq.html b/faq.html index 7859a615..8bb33892 100644 --- a/faq.html +++ b/faq.html @@ -955,6 +955,73 @@ using a drive letter, similar to Linux.

+ +
+

+How do I configure GMAIL email notifications on Linux? +

+
+

+To securely send notifications through Gmail on Linux, follow these steps: +

+

+1. Create the file: Create a file named .netrc in the home directory of the user specified in notify_run_as_user. +

+
+machine smtp.gmail.com
+login your_email@gmail.com
+password your-16-char-app-password
+
+

+Note: You must use a Google "App Password," not your primary account password. +

+

+2. Set Permissions: Secure the file using chmod 600 ~/.netrc. If permissions are too open or the file is owned by the wrong user, curl will return Error 55. +

+

+3. Configure the Command: +

+
+notify_result = curl --netrc --url smtps://smtp.gmail.com:465 --ssl-reqd --mail-from your_email@gmail.com --mail-rcpt your_email@gmail.com --upload-file -
+
+
+
+ +
+

+How do I configure GMAIL email notifications on Window? +

+
+

+To send notifications through Gmail from a Windows Service, you have two primary options: +

+

+Option 1: Using a _netrc file (Recommended) +
+Place a file named _netrc (note the underscore) in the System Profile directory: C:\Windows\System32\config\systemprofile\_netrc. +

+
+machine smtp.gmail.com
+login your_email@gmail.com
+password your-16-char-app-password
+
+

+Ensure only SYSTEM and Administrators have NTFS read access to this file. Use the following configuration: +

+
+notify_result = curl.exe --netrc --url "smtps://smtp.gmail.com:465" --ssl-reqd --mail-from "your_email@gmail.com" --mail-rcpt "your_email@gmail.com" --upload-file -
+
+

+Option 2: Using Command Line Credentials +
+If you cannot use a file, you can pass your Gmail credentials directly via the --user flag. Note that this is less secure as the app password may be visible in process monitoring tools. +

+
+notify_result = curl.exe --user "your_email@gmail.com:your-app-password" --url "smtps://smtp.gmail.com:465" --ssl-reqd --mail-from "your_email@gmail.com" --mail-rcpt "your_email@gmail.com" --upload-file -
+
+
+
+