From 5f773a32671efe0881b0535e7d4e7f05a81f6274 Mon Sep 17 00:00:00 2001
From: Andrea Mazzoleni
-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 - +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 -@@ -1016,17 +1017,19 @@ Ensure only SYSTEM and Administrators have NTFS read access to this file. Use th
-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 - +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.
+If you cannot use a _netrec 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 - +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 -