Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-N
perl-Net-SMTP-TLS
perl-Net-SMTP-TLS.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Net-SMTP-TLS.spec of Package perl-Net-SMTP-TLS
# # spec file for package perl-Net-SMTP-TLS # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Net-SMTP-TLS Version: 0.12 Release: 0 %define cpan_name Net-SMTP-TLS Summary: An SMTP client supporting TLS and AUTH License: CHECK(GPL-1.0+ or Artistic-1.0) Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Net-SMTP-TLS/ Source0: https://cpan.metacpan.org/authors/id/A/AW/AWESTHOLM/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Digest::HMAC_MD5) BuildRequires: perl(IO::Socket::SSL) BuildRequires: perl(Net::SSLeay) Requires: perl(Digest::HMAC_MD5) Requires: perl(IO::Socket::SSL) Requires: perl(Net::SSLeay) %{perl_requires} %description *Net::SMTP::TLS* is a TLS and AUTH capable SMTP client which offers an interface that users will find familiar from Net::SMTP. *Net::SMTP::TLS* implements a subset of the methods provided by that module, but certainly not (yet) a complete mirror image of that API. The methods supported by *Net::SMTP::TLS* are used in the above example. Though self explanatory for the most part, please see the perldoc for Net::SMTP if you are unclear. The differences in the methods provided are as follows: The _mail_ method does not take the options list taken by Net::SMTP The _to_ method also does not take options, and is the only method available to set the recipient (unlike the many synonyms provided by Net::SMTP). The constructor takes a limited number of Net::SMTP's parameters. The constructor for *Net::SMTP::TLS* takes the following (in addition to the hostname of the mail server, which must be the first parameter and is not explicitly named): NoTLS - In the unlikely event that you need to use this class to perform non-TLS SMTP (you ought to be using Net::SMTP itself for that...), this will turn off TLS when supplied with a true value. This will most often cause an error related to authentication when used on a server that requires TLS Hello - hostname used in the EHLO command Port - port to connect to the SMTP service (defaults to 25) Timeout - Timeout for inital socket connection (defaults to 5, passed directly to IO::Socket::INET) User - username for SMTP AUTH Password - password for SMTP AUTH %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor