Net_Monitor
[ class tree: Net_Monitor ] [ index: Net_Monitor ] [ all elements ]

Class: Net_Monitor_Service_SMTP

Source Location: /Net_Monitor-0.3.0/Net/Monitor/Service/SMTP.php

Class Overview

Net_Monitor_Service
   |
   --Net_Monitor_Service_SMTP

class Net_Monitor_Service_SMTP


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 49]
class Net_Monitor_Service_SMTP

A class for checking SMTP (email) services



[ Top ]


Class Variables

$_client =  null

[line 65]

The client object used for testing
  • Access: protected

Type:   object
Overrides:   Array


[ Top ]

$_last_code =  -1

[line 73]

The last response code received
  • Access: protected

Type:   int
Overrides:   Array


[ Top ]

$_service =  'SMTP'

[line 57]

Defines the name of the service
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

__construct (Constructor)   [line 80]

Net_Monitor_Service_SMTP __construct( )

function Net_Monitor_Service_SMTP
  • Access: public

[ Top ]

check   [line 95]

mixed check( mixed $host)

function check

Checks the specified SMTP server ($host) for availability. Returns false on success, or a notification array on failure.

  • Access: public

Overrides Net_Monitor_Service::check() (function check)

Parameters:

mixed   $host     SMTP server

[ Top ]


Documentation generated on Sun, 30 Mar 2014 14:30:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.