Coder Social home page Coder Social logo

email-send's People

Contributors

dsteinbrunner avatar mrcaron avatar rjbs avatar yanick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

email-send's Issues

Minor Conflict with autodie

#!/usr/bin/perl -w
use strict;
use warnings FATAL => qw{ uninitialized };
use autodie;
use Email::Send;

leads to


perl test.pl                                                                                     |use vars qw[$VERSION];
Subroutine main::send redefined at /opt/local/lib/perl5/site_perl/5.22/Email/Send.pm line 273.   |$VERSION   = '2.201';
Prototype mismatch: sub main::send (*$$;$) vs none at /opt/local/lib/perl5/site_perl/5.22/Email/\|
Send.pm line 273.                                                                                |use Email::Simple 1.92;


I am still using Send instead of Sender, because the whole shebang fails compiling on OSX (probably on Moo).

Mailer autodetection undeterministic with new Perl versions

I'm maintaining a legacy application that uses Email::Send. After upgrading to a newer version of Perl the script stopped working reliably. This is because Perl 5.18 introduced Hash order randomization, which causes Email::Send to try the available mailers in random order. If the "Test" mailer is tried before SMTP or Sendmail, the mail is lost.

Please consider adding a note to the documentation, and maybe issuing a warning when Email::Send->new is called without mailer parameter.

Method "auth" doesn't exist in Net::SMTP::TLS

originally reported at https://rt.cpan.org/Ticket/Display.html?id=57301

use Email::MIME;
use Email::Send; warn
send "SMTP" => Email::MIME->create(header => [ From => "foo@foo.com", to => 
"wallace@reis.org.br", subject => "foo" ], body => "foo"), qw/smtp.gmail.com tls 1 username 
foo password bar/;'
Can't locate object method "auth" via package "Net::SMTP::TLS" at 
/home/wallacer/perl5/lib/perl5/Email/Send/SMTP.pm line 65, <GEN0> line 7.

Email::Address is deprecated and affected by CVE-2015-7686 even in the last release (1.909), switch to Email::Address::XS

See, for the first statement (module deprecation): http://search.cpan.org/~rjbs/Email-Address-1.909/lib/Email/Address.pm
and for the second one (remote DOS): https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7686 .
The CPAN site recommends switching to the Email::Address::XS module(http://search.cpan.org/~pali/Email-Address-XS-1.03/lib/Email/Address/XS.pm),
because it is a drop-in replacement for the original Email::Address and it was created to fix the above CVE.

Please do such switch to Email::Address::XS for Email::Send...
The passage can be made near trivially, by simply changing all the recurrences (but one) of "Email::Address" to "Email::Address::XS" (see attached patch)
perl-Email-Send-2.201-use-Email-Address-XS.txt
.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.