| 1 | # This code is part of Perl distribution Mail-Box-POP3 version 4.02. | ||
| 2 | # The POD got stripped from this file by OODoc version 3.06. | ||
| 3 | # For contributors see file ChangeLog. | ||
| 4 | |||
| 5 | # This software is copyright (c) 2001-2026 by Mark Overmeer. | ||
| 6 | |||
| 7 | # This is free software; you can redistribute it and/or modify it under | ||
| 8 | # the same terms as the Perl 5 programming language system itself. | ||
| 9 | # SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later | ||
| 10 | |||
| 11 | |||
| 12 | package Mail::Box::POP3s;{ | ||
| 13 | our $VERSION = '4.02'; | ||
| 14 | } | ||
| 15 | |||
| 16 | use parent 'Mail::Box::POP3'; | ||
| 17 | |||
| 18 | use strict; | ||
| 19 | use warnings; | ||
| 20 | |||
| 21 | use Log::Report 'mail-box-pop3'; | ||
| 22 | |||
| 23 | #-------------------- | ||
| 24 | |||
| 25 | sub init($) | ||
| 26 | { my ($self, $args) = @_; | ||
| 27 | $args->{server_port} ||= 995; | ||
| 28 | $self->SUPER::init($args); | ||
| 29 | $self; | ||
| 30 | } | ||
| 31 | |||
| 32 | sub type() {'pop3s'} | ||
| 33 | |||
| 34 | #-------------------- | ||
| 35 | |||
| 36 | sub popClient(%) | ||
| 37 | { my $self = shift; | ||
| 38 | $self->SUPER::popClient(@_, use_ssl => 1); | ||
| 39 | } | ||
| 40 | |||
| 41 | 1; |