GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sisimai::Reason::Rejected(3) User Contributed Perl Documentation Sisimai::Reason::Rejected(3)

Sisimai::Reason::Rejected - Bounce reason is "rejected" or not.

    use Sisimai::Reason::Rejected;
    print Sisimai::Reason::Rejected->match('550 Address rejected');   # 1

Sisimai::Reason::Rejected checks the bounce reason is "rejected" or not. This class is called only Sisimai::Reason class.

This is the error that a connection to destination server was rejected by a sender's email address (envelope from). Sisimai set "rejected" to the reason of email bounce if the value of Status: field in a bounce email is 5.1.8 or the connection has been rejected due to the argument of SMTP MAIL command.

    <kijitora@example.org>:
    Connected to 192.0.2.225 but sender was rejected.
    Remote host said: 550 5.7.1 <root@nijo.example.jp>... Access denied

"text()" returns string: "rejected".

    print Sisimai::Reason::Rejected->text;  # rejected

"match()" returns 1 if the argument matched with patterns defined in this class.

    print Sisimai::Reason::Rejected->match('550 Address rejected');   # 1

"true()" returns 1 if the bounce reason is "rejected". The argument must be Sisimai::Data object and this method is called only from Sisimai::Reason class.

azumakuniyuki

Copyright (C) 2014-2019,2021 azumakuniyuki, All rights reserved.

This software is distributed under The BSD 2-Clause License.
2021-02-22 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.