-
-
26 May 2020 20:40:48 UTC
- Distribution: HealthCheck-Diagnostic-SMTP
- Module version: v0.0.4
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers
- Kwalitee
Bus factor: 1- 77.46% Coverage
- License: artistic_2
- Activity
24 month- Tools
- Download (10.91KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Grant Street Group
NAME
HealthCheck::Diagnostic::SMTP - Verify connectivity to an SMTP mail server
VERSION
version v0.0.4
SYNOPSIS
Check that you can talk to the server.
my $health_check = HealthCheck->new( checks => [ HealthCheck::Diagnostic::SMTP->new( host => 'smtp.gmail.com', timeout => 5, ]);
DESCRIPTION
Determines if the SMTP mail server is available. Sets the
status
to "OK" if the connection was successful, or "CRITICAL" otherwise.ATTRIBUTES
Can be passed either to
new
orcheck
.host
required Either a string of the hostname or a coderef that returns a hostname string.
port
The port to connect to. Defaults to 25.
timeout
The number of seconds to timeout after trying to establish a connection. Defaults to 5.
DEPENDENCIES
HealthCheck::Diagnostic Net::SMTP
AUTHOR
Grant Street Group <developers@grantstreet.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019 - 2020 by Grant Street Group.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Module Install Instructions
To install HealthCheck::Diagnostic::SMTP, copy and paste the appropriate command in to your terminal.
cpanm HealthCheck::Diagnostic::SMTP
perl -MCPAN -e shell install HealthCheck::Diagnostic::SMTP
For more information on module installation, please visit the detailed CPAN module installation guide.