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::VirusDetected(3) User Contributed Perl Documentation Sisimai::Reason::VirusDetected(3)

Sisimai::Reason::VirusDetected - Bounce reason is "virusdetected" or not.

    use Sisimai::Reason::VirusDetected;
    print Sisimai::Reason::VirusDetected->match('5.7.1 Email not accept');   # 1

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

This is an error that any virus or trojan horse detected in the message by the virus scanner program at the destination mail server. This reason has been divided from "securityerror" at Sisimai 4.22.0.

    Your message was infected with a virus. You should download a virus
    scanner and check your computer for viruses.
    Sender:    <sironeko@libsisimai.org>
    Recipient: <kijitora@example.jp>

text() method returns the fixed string "virusdetected".

    print Sisimai::Reason::VirusDetected->text;  # virusdetected

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

    my $v = 'Your message was infected with a virus. ...';
    print Sisimai::Reason::VirusDetected->match($v);    # 1

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

azumakuniyuki

Copyright (C) 2017-2021,2023,2024 azumakuniyuki, All rights reserved.

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

2025-03-28 perl v5.40.2

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.