Hello community,

here is the log from the commit of package perl-MailTools for openSUSE:Factory 
checked in at 2019-06-03 18:49:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MailTools (Old)
 and      /work/SRC/openSUSE:Factory/.perl-MailTools.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-MailTools"

Mon Jun  3 18:49:24 2019 rev:35 rq:704716 version:2.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MailTools/perl-MailTools.changes    
2018-02-10 17:54:13.432697101 +0100
+++ /work/SRC/openSUSE:Factory/.perl-MailTools.new.5148/perl-MailTools.changes  
2019-06-03 18:49:50.264548149 +0200
@@ -1,0 +2,21 @@
+Wed May 22 05:12:18 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to 2.21
+   see /usr/share/doc/packages/perl-MailTools/ChangeLog
+
+  version 2.21: Tue 21 May 16:26:30 CEST 2019
+  
+       Fixes:
+       - fix metadata [Mohammad S Anwar]
+  
+       Improvements:
+       - add more to the README
+       - add Mail::Mailer option StartSSL for smtp backend
+         rt.cpan.org#125871 [Guilhem Moulin]
+       - deprecate Mail::Mailer backend smtps
+       - document need for escaping docs for Mail::Send
+         rt.cpan.org#129627 [Jonathan Kamens]
+       - document limit on parameters for Mail::Send::new()
+         rt.cpan.org#129633 [Sven Neuhaus]
+
+-------------------------------------------------------------------

Old:
----
  MailTools-2.20.tar.gz

New:
----
  MailTools-2.21.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-MailTools.spec ++++++
--- /var/tmp/diff_new_pack.YRsyt8/_old  2019-06-03 18:49:50.848547949 +0200
+++ /var/tmp/diff_new_pack.YRsyt8/_new  2019-06-03 18:49:50.852547947 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-MailTools
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,18 +12,18 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           perl-MailTools
-Version:        2.20
+Version:        2.21
 Release:        0
 %define cpan_name MailTools
-Summary:        Bundle of Ancient Email Modules
-License:        GPL-1.0+ or Artistic-1.0
+Summary:        Bundle of ancient email modules
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/MailTools/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
@@ -50,11 +50,11 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ MailTools-2.20.tar.gz -> MailTools-2.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/ChangeLog new/MailTools-2.21/ChangeLog
--- old/MailTools-2.20/ChangeLog        2018-01-22 18:14:50.000000000 +0100
+++ new/MailTools-2.21/ChangeLog        2019-05-21 16:26:37.000000000 +0200
@@ -1,6 +1,21 @@
 
 ==== version history for MailTools
 
+version 2.21: Tue 21 May 16:26:30 CEST 2019
+
+       Fixes:
+       - fix metadata [Mohammad S Anwar]
+
+       Improvements:
+       - add more to the README
+       - add Mail::Mailer option StartSSL for smtp backend
+         rt.cpan.org#125871 [Guilhem Moulin]
+       - deprecate Mail::Mailer backend smtps
+       - document need for escaping docs for Mail::Send
+         rt.cpan.org#129627 [Jonathan Kamens]
+       - document limit on parameters for Mail::Send::new()
+         rt.cpan.org#129633 [Sven Neuhaus]
+
 version 2.20: Mon 22 Jan 18:14:44 CET 2018
 
        Improvements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/META.json new/MailTools-2.21/META.json
--- old/MailTools-2.20/META.json        2018-01-22 18:14:51.000000000 +0100
+++ new/MailTools-2.21/META.json        2019-05-21 16:26:38.000000000 +0200
@@ -1,13 +1,12 @@
 {
    "abstract" : "Various ancient e-mail related modules",
    "author" : [
-      "Mark Overmeer"
+      "Mark Overmeer <[email protected]>"
    ],
    "dynamic_config" : 1,
    "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
-      "perl_5",
-      "unknown"
+      "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
@@ -44,13 +43,16 @@
    },
    "release_status" : "stable",
    "resources" : {
+      "homepage" : "http://perl.overmeer.net/CPAN/";,
+      "license" : [
+         "http://dev.perl.org/licenses/";
+      ],
       "repository" : {
          "type" : "git",
          "url" : "https://github.com/markov2/perl5-MailTools.git";,
          "web" : "https://github.com/markov2/perl5-MailTools";
       }
    },
-   "version" : "2.20",
-   "x_homepage" : "http://perl.overmeer.net/CPAN/";,
+   "version" : "2.21",
    "x_serialization_backend" : "JSON::PP version 2.94"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/META.yml new/MailTools-2.21/META.yml
--- old/MailTools-2.20/META.yml 2018-01-22 18:14:51.000000000 +0100
+++ new/MailTools-2.21/META.yml 2019-05-21 16:26:38.000000000 +0200
@@ -1,14 +1,14 @@
 ---
 abstract: 'Various ancient e-mail related modules'
 author:
-  - 'Mark Overmeer'
+  - 'Mark Overmeer <[email protected]>'
 build_requires:
   ExtUtils::MakeMaker: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
 generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 
2.150010'
-license: unknown
+license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: '1.4'
@@ -25,7 +25,8 @@
   Net::SMTP: '1.03'
   Test::More: '0'
 resources:
+  homepage: http://perl.overmeer.net/CPAN/
+  license: http://dev.perl.org/licenses/
   repository: https://github.com/markov2/perl5-MailTools.git
-version: '2.20'
-x_homepage: http://perl.overmeer.net/CPAN/
+version: '2.21'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.011'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/Makefile.PL 
new/MailTools-2.21/Makefile.PL
--- old/MailTools-2.20/Makefile.PL      2018-01-22 18:14:29.000000000 +0100
+++ new/MailTools-2.21/Makefile.PL      2019-05-21 16:26:37.000000000 +0200
@@ -5,10 +5,10 @@
 WriteMakefile
  ( NAME      => 'MailTools'
  , DISTNAME  => 'MailTools'
- , VERSION   => '2.20'
- , AUTHOR    => 'Mark Overmeer'
+ , VERSION   => '2.21'
+ , AUTHOR    => 'Mark Overmeer <[email protected]>'
  , ABSTRACT  => 'Various ancient e-mail related modules'
- , LICENSE   => 'perl'
+ , LICENSE   => 'perl_5'
 
  , PREREQ_PM =>
    { Net::SMTP   => 1.03
@@ -33,9 +33,9 @@
               , url  => 'https://github.com/markov2/perl5-MailTools.git'
               , web  => 'https://github.com/markov2/perl5-MailTools'
               }
+          , homepage => 'http://perl.overmeer.net/CPAN/'
+          , license  => [ 'http://dev.perl.org/licenses/' ]
           }
-      , homepage => 'http://perl.overmeer.net/CPAN/'
-      , license  => [ 'http://dev.perl.org/licenses/' ]
       }
  );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/README new/MailTools-2.21/README
--- old/MailTools-2.20/README   2017-12-06 10:41:03.000000000 +0100
+++ new/MailTools-2.21/README   2019-05-21 16:26:37.000000000 +0200
@@ -1,22 +1,25 @@
+=== README for MailTools version 2.21
+=   Generated on Tue May 21 16:26:37 2019 by OODoc 2.02
 
-=== README for MailTools
+There are various ways to install this module:
 
-MailTools is a set of Perl modules related to mail applications.
-These modules are very old (partially written before MIME!).  If you
-start to write a new e-mail application, consider to use MailBox
-instead (http://perl.overmeer.net/mailbox/)  It is a little harder
-to learn, but at least implements all RFCs correctly.
-
-You require perl 5.8.1 or later to use this library.  When your Perl
-is older, then use version 1.xx.
-
-You install the library by running these commands:
-
-   perl Makefile.PL
-   make
-   make test
-   make install
+ (1) if you have a command-line, you can do:
+       perl -MCPAN -e 'install <any package from this distribution>'
 
-There are also some demo scripts (see README.demos)
-Please report any bugs/suggestions to
+ (2) if you use Windows, have a look at http://ppm.activestate.com/
+
+ (3) if you have downloaded this module manually (as root/administrator)
+       gzip -d MailTools-2.21.tar.gz
+       tar -xf MailTools-2.21.tar
+       cd MailTools-2.21
+       perl Makefile.PL
+       make          # optional
+       make test     # optional
+       make install
+
+For usage, see the included manual-pages or
+    http://search.cpan.org/dist/MailTools-2.21/
+
+Please report problems to
     http://rt.cpan.org/Dist/Display.html?Queue=MailTools
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/README.md new/MailTools-2.21/README.md
--- old/MailTools-2.20/README.md        2018-01-22 18:14:29.000000000 +0100
+++ new/MailTools-2.21/README.md        2019-05-21 16:26:37.000000000 +0200
@@ -7,12 +7,27 @@
     and <https://metacpan.org/release/MailTools>
 
 MailTools is one of the oldest modules on CPAN.  It started off in 1995,
-the year Perl 5.0 got released!
+the year Perl 5.0 got released!  That's just in the beginning of the
+MIME standards.
 
-**Please note:** Email has become more complex over the years.  These
-modules only understand very basic emails and fairly simple emails.
-Later, this module got extended by the MIME::Entity modules... but when
-you start all over, please look at Mail::Box!
+Email has become more complex over the years.  The components of
+MailTools only understand very basic emails and fairly simple mime
+headers.  Fixing some things will break existing applications.
+
+The only reason for still maintaining it, is because it is used as example
+in many books and therefore applications still use it.  Not because it
+is good.  Sometimes it is good enough, though.
+
+Later, this module got extended by the MIME::Entity modules to support
+multiparts and more smartness.  But even those modules are quite limited,
+considering modern emails.
+
+**Please note:** When you start all over, please consider Mail::Box!
+For a feature overview, take a look at the
+[MailBox overview](http://perl.overmeer.net/mailbox/html/Mail_Box-Overview/)
+and
+[MailBox features](http://perl.overmeer.net/mailbox/html/Mail_Box-Index/)
+pages.
 
 ## Development &rarr; Release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Address.pm 
new/MailTools-2.21/lib/Mail/Address.pm
--- old/MailTools-2.20/lib/Mail/Address.pm      2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Address.pm      2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Address;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use strict;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Cap.pm 
new/MailTools-2.21/lib/Mail/Cap.pm
--- old/MailTools-2.20/lib/Mail/Cap.pm  2018-01-22 18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Cap.pm  2019-05-21 16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Cap;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Field/AddrList.pm 
new/MailTools-2.21/lib/Mail/Field/AddrList.pm
--- old/MailTools-2.20/lib/Mail/Field/AddrList.pm       2018-01-22 
18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Field/AddrList.pm       2019-05-21 
16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -10,7 +10,7 @@
 
 package Mail::Field::AddrList;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Field';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Field/Date.pm 
new/MailTools-2.21/lib/Mail/Field/Date.pm
--- old/MailTools-2.20/lib/Mail/Field/Date.pm   2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Field/Date.pm   2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Field::Date;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Field';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Field/Generic.pm 
new/MailTools-2.21/lib/Mail/Field/Generic.pm
--- old/MailTools-2.20/lib/Mail/Field/Generic.pm        2018-01-22 
18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Field/Generic.pm        2019-05-21 
16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Field::Generic;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Field';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Field.pm 
new/MailTools-2.21/lib/Mail/Field.pm
--- old/MailTools-2.20/lib/Mail/Field.pm        2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Field.pm        2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Field;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Filter.pm 
new/MailTools-2.21/lib/Mail/Filter.pm
--- old/MailTools-2.20/lib/Mail/Filter.pm       2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Filter.pm       2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Filter;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Header.pm 
new/MailTools-2.21/lib/Mail/Header.pm
--- old/MailTools-2.20/lib/Mail/Header.pm       2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Header.pm       2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Header;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Internet.pm 
new/MailTools-2.21/lib/Mail/Internet.pm
--- old/MailTools-2.20/lib/Mail/Internet.pm     2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Internet.pm     2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Internet;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use strict;
 # use warnings?  probably breaking too much code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/qmail.pm 
new/MailTools-2.21/lib/Mail/Mailer/qmail.pm
--- old/MailTools-2.20/lib/Mail/Mailer/qmail.pm 2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Mailer/qmail.pm 2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer::qmail;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer::rfc822';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/rfc822.pm 
new/MailTools-2.21/lib/Mail/Mailer/rfc822.pm
--- old/MailTools-2.20/lib/Mail/Mailer/rfc822.pm        2018-01-22 
18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Mailer/rfc822.pm        2019-05-21 
16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer::rfc822;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/sendmail.pm 
new/MailTools-2.21/lib/Mail/Mailer/sendmail.pm
--- old/MailTools-2.20/lib/Mail/Mailer/sendmail.pm      2018-01-22 
18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Mailer/sendmail.pm      2019-05-21 
16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer::sendmail;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer::rfc822';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/smtp.pm 
new/MailTools-2.21/lib/Mail/Mailer/smtp.pm
--- old/MailTools-2.20/lib/Mail/Mailer/smtp.pm  2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Mailer/smtp.pm  2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer::smtp;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer::rfc822';
 
@@ -27,7 +27,15 @@
     $opt{Debug} ||= 0;
 
     my $smtp = Net::SMTP->new($host, %opt)
-       or return undef;
+        or return undef;
+
+    if($opt{StartTLS})
+    {   $Net::SMTP::VERSION >= 1.28
+            or die "StartTLS requires Net::SMTP 1.28";
+
+        $smtp->starttls
+            or return undef;
+    }
 
     if($opt{Auth})
     {   $smtp->auth(@{$opt{Auth}})
@@ -89,7 +97,7 @@
 
 package Mail::Mailer::smtp::pipe;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 sub TIEHANDLE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/smtps.pm 
new/MailTools-2.21/lib/Mail/Mailer/smtps.pm
--- old/MailTools-2.20/lib/Mail/Mailer/smtps.pm 2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Mailer/smtps.pm 2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -10,7 +10,7 @@
 
 package Mail::Mailer::smtps;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer::rfc822';
 
@@ -94,7 +94,7 @@
 
 package Mail::Mailer::smtps::pipe;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 sub TIEHANDLE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer/testfile.pm 
new/MailTools-2.21/lib/Mail/Mailer/testfile.pm
--- old/MailTools-2.20/lib/Mail/Mailer/testfile.pm      2018-01-22 
18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Mailer/testfile.pm      2019-05-21 
16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer::testfile;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Mail::Mailer::rfc822';
 
@@ -40,7 +40,7 @@
 
 package Mail::Mailer::testfile::pipe;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 sub TIEHANDLE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer.pm 
new/MailTools-2.21/lib/Mail/Mailer.pm
--- old/MailTools-2.20/lib/Mail/Mailer.pm       2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Mailer.pm       2019-05-21 16:26:37.000000000 
+0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Mailer;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'IO::Handle';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Mailer.pod 
new/MailTools-2.21/lib/Mail/Mailer.pod
--- old/MailTools-2.20/lib/Mail/Mailer.pod      2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Mailer.pod      2019-05-21 16:26:37.000000000 
+0200
@@ -44,12 +44,18 @@
 C<Resent-*> fellows. The C<Debug> options enables debugging output
 from C<Net::SMTP>.
 
+[added 2.21] You may also use the C<< StartTLS => 1 >> options to upgrade the
+connection with STARTTLS.  You need C<libnet> version 1.28 (2014) for this
+to work.
+
 You may also use the C<< Auth => [ $user, $password ] >> option for SASL
 authentication. To make this work, you have to install the L<Authen::SASL>
 distribution yourself: it is not automatically installed.
 
 =item C<smtps>
 
+This option is B<deprecated> when you have C<libnet> 1.28 (2014) and above.
+
 Use the smtp over ssl protocol via L<Net::SMTP::SSL> to deliver the mail.
 Usage is identical to C<smtp>. You have to install Authen::SASL as
 well.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Send.pm 
new/MailTools-2.21/lib/Mail/Send.pm
--- old/MailTools-2.20/lib/Mail/Send.pm 2018-01-22 18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Send.pm 2019-05-21 16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Send;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 use strict;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Send.pod 
new/MailTools-2.21/lib/Mail/Send.pod
--- old/MailTools-2.20/lib/Mail/Send.pod        2018-01-22 18:14:50.000000000 
+0100
+++ new/MailTools-2.21/lib/Mail/Send.pod        2019-05-21 16:26:37.000000000 
+0200
@@ -36,9 +36,10 @@
 
 L<Mail::Send|Mail::Send> creates e-mail messages without using the 
L<Mail::Header|Mail::Header>
 knowledge, which means that all escaping and folding must be done by
-you!  Simplicity has its price.
+you!  Also: do not forget to escape leading dots.  Simplicity has its price.
 
-When you have time, take a look at Mail::Transport
+When you have time, take a look at Mail::Transport which is part of
+the MailBox suite.
 
 =head1 METHODS
 
@@ -48,8 +49,9 @@
 
 =item Mail::Send-E<gt>B<new>(PAIRS)
 
-A list of header fields (provided as key-value PAIRS) can be
-used to initialize the object.
+A list of header fields (provided as key-value PAIRS) can be used to
+initialize the object, limited to the few provided as method: C<to>,
+C<subject>, C<cc>, and C<bcc>.  For other header fields, use 
L<add()|Mail::Send/"Header fields">.
 
 =back
 
@@ -86,7 +88,10 @@
 
 The %options are used to initiate a mailer object via
 L<Mail::Mailer::new()|Mail::Mailer/"Constructors">.  Then 
L<Mail::Mailer::open()|Mail::Mailer/"Constructors"> is called
-with the knowledge collected in this Mail::Send object.
+with the knowledge collected in this C<Mail::Send> object.
+
+Be warned: this module implements raw smtp, which means that you have
+to escape lines which start with a dot, by adding one in front.
 
 =back
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/Mail/Util.pm 
new/MailTools-2.21/lib/Mail/Util.pm
--- old/MailTools-2.20/lib/Mail/Util.pm 2018-01-22 18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/Mail/Util.pm 2019-05-21 16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package Mail::Util;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 use base 'Exporter';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MailTools-2.20/lib/MailTools.pm 
new/MailTools-2.21/lib/MailTools.pm
--- old/MailTools-2.20/lib/MailTools.pm 2018-01-22 18:14:50.000000000 +0100
+++ new/MailTools-2.21/lib/MailTools.pm 2019-05-21 16:26:37.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyrights 1995-2018 by [Mark Overmeer].
+# Copyrights 1995-2019 by [Mark Overmeer <[email protected]>].
 #  For other contributors see ChangeLog.
 # See the manual pages for details on the licensing terms.
 # Pod stripped from pm file by OODoc 2.02.
@@ -8,7 +8,7 @@
 
 package MailTools;
 use vars '$VERSION';
-$VERSION = '2.20';
+$VERSION = '2.21';
 
 
 


Reply via email to