Name : perl-Mail-Sendmail-Enhanced
| |
Version : 0.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.4.1
| Date : 2023-07-20 17:01:11
|
Group : Development/Libraries/Perl
| Source RPM : perl-Mail-Sendmail-Enhanced-0.03-lp155.4.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Pure Perl email sender with multibyte characters encoding and easy attac[cut]
|
Description :
Mail::Sendmail::Enhanced is an enhanced version of the module the Mail::Sendmail manpage. It is still pure Perl solution. In the module the problem of encoding multibyte characters in the Mail::Sendmail manpage was solved. Some procedure of sending very easily a list of attachments was prepared.
After preparing multibyte characters encoding and building message with attachments the module calls _sendmail_ function from the the Mail::Sendmail manpage module which does all the job.So please read there in the Mail::Sendmail manpage about how to set up connections to email servers. This module behaves identically.
As already mentioned this adds two things:
1. Multibyte characters encoding - which uses refurbish and imported function _encode_qp_ from the module the MIME::QuotedPrint::Perl manpage.
The problem with encoding multibyte characters was that simple implemented encoding - especially in the \"Subject:\" field of email header - results that some characters are divided between two rows when long lines are folded. Some email clients are not able to put together these separated bytes into one character and letters are displeyed inproperly. The new encoding function keeps bytes of one character in one folded row.
2. Simple attachments managment. List of attachments is a hash:
attachments => { \'name for email of the file1\' => \'OS file1 location\', \'name for email of the file2\' => \'OS file2 location\', },
where the keys are the attachments email names and the values are OS locations.
It is possible to add some control to sending attachment. It is done by the parameter *attachments_size_max*. Possible values are:
attachments_size_max => -1, # Negative value means that sending attachments is forbidden.
attachments_size_max => 0, # No size limit of attachments
attachments_size_max => \'50 000 B\', # Positive value is a maximum size of attachment.
attachments_size_max => \'100k\', # k = 1000, so maximum = 100 000 attachments_size_max => \'100 K\', # K = 1024, so maximum = 102 400 attachments_size_max => \'2 m\', # m = 1000x1000, so maximum = 1 000 000 attachments_size_max => \'2M\', # M = 1024x1024, so maximum = 1 048 576
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/15.5/noarch |