Current section

Files

Jump to
nodeping lib nodeping checktypes imap4.ex
Raw

lib/nodeping/checktypes/imap4.ex

defmodule NodePing.Checktypes.Imap4 do
@moduledoc """
IMAP monitoring is an important part of an overall email availability
monitoring strategy. The checks can not only verify that your server is
providing IMAP email retrieval properly but that user logins and your
SSL/TLS certificates are also functioning properly.
https://nodeping.com/imap_check.html
"""
@enforce_keys [:target]
defstruct [
:target,
label: "",
type: "IMAP4",
port: 143,
verify: true,
email: nil,
username: nil,
password: nil,
secure: nil,
warningdays: false,
interval: 15,
enabled: false,
public: false,
runlocations: nil,
homeloc: false,
threshold: 5,
sens: 2,
dep: nil,
notifications: []
]
end