NAME

Sisimai::RFC5321 - SMTP Reply code related class (Obsolete)

SYNOPSIS

use Sisimai::RFC5321;
print Sisimai::RFC5321->getrc('550 5.1.1 Unknown user');  # 550

DESCRIPTION

Sisimai::RFC5321 is utilities for getting SMTP Reply Code value from error message text.

This class has been obsoleted from Sisimai 4.14.0, use Sisimai::SMPT::Reply module instead.

CLASS METHODS

getrc( String )

getrc() returns a SMTP Reply Code value.

print Sisimai::RFC5321->getrc('5.0.0');                   # ''
print Sisimai::RFC5321->getrc('550 5.1.1 User unknown');  # 550

AUTHOR

azumakuniyuki

COPYRIGHT

Copyright (C) 2015 azumakuniyuki, All rights reserved.

LICENSE

This software is distributed under The BSD 2-Clause License.