diff --git a/faq.html b/faq.html index dbf8215e..22c33ad6 100644 --- a/faq.html +++ b/faq.html @@ -985,7 +985,8 @@ Note: You must use a Google "App Password," not your primary account password.
-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 -