File tree 1 file changed +17
-4
lines changed
1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,19 @@ The Email notification service sends email notifications using SMTP protocol and
12
12
* ` html ` - optional bool, true or false
13
13
* ` insecure_skip_verify ` - optional bool, true or false
14
14
15
+ ### Using Gmail
16
+
17
+ When configuring Gmail as the SMTP service:
18
+
19
+ * ` username ` - Must be your Gmail address.
20
+ * ` password ` - Use an App Password, not your regular Gmail password.
21
+
22
+ To Generate an app password, follow this link https://myaccount.google.com/apppasswords
23
+
24
+ !!! note
25
+ This applies to personal Gmail accounts (non-Google Workspace). For Google Workspace users, SMTP settings
26
+ and authentication methods may differ.
27
+
15
28
## Example
16
29
17
30
The following snippet contains sample Gmail service configuration:
@@ -23,11 +36,11 @@ metadata:
23
36
name : argocd-notifications-cm
24
37
data :
25
38
service.email.gmail : |
26
- username: $email- username
27
- password: $email- password
39
+ username: $username
40
+ password: $password
28
41
host: smtp.gmail.com
29
42
port: 465
30
- from: $email-username
43
+ from: $email-address
31
44
` ` `
32
45
33
46
Without authentication:
41
54
service.email.example : |
42
55
host: smtp.example.com
43
56
port: 587
44
- from: $email-username
57
+ from: $email-address
45
58
` ` `
46
59
47
60
## Template
You can’t perform that action at this time.
0 commit comments