Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/smtp.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ SMTP
| Sender | String | Y | Who is sending the email |
| Reciever | String | Y | Who is receiving the email |
| Body | String | N :: "Hello from Scorestack" | Body of the email |
| Encrypted | String | N :: False | Whether or not to use TLS |
| Encrypted | String | N :: "false" | Whether or not to use TLS |
| Port | String | N :: "25" | Port of the SMTP server |
2 changes: 1 addition & 1 deletion dynamicbeat/checks/smtp/smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Definition struct {
Sender string `optiontype:"required"` // Who is sending the email
Reciever string `optiontype:"required"` // Who is receiving the email
Body string `optiontype:"optional" optiondefault:"Hello from Scorestack"` // Body of the email
Encrypted string `optiontype:"optional"` // Whether or not to use TLS
Encrypted string `optiontype:"optional" optiondefault:"false"` // Whether or not to use TLS
Port string `optiontype:"optional" optiondefault:"25"` // Port of the smtp server
}

Expand Down