Package Details: sendemail 1.56-2

Git Clone URL: https://aur.archlinux.org/sendemail.git (read-only, click to copy)
Package Base: sendemail
Description: A lightweight command line SMTP email client written in Perl
Upstream URL: http://caspian.dotconf.net/menu/Software/SendEmail/
Licenses: GPL
Submitter: lp76
Maintainer: severach
Last Packager: severach
Votes: 31
Popularity: 0.000000
First Submitted: 2006-10-31 11:55 (UTC)
Last Updated: 2016-09-12 05:21 (UTC)

Latest Comments

1 2 Next › Last »

joao.sa commented on 2024-08-08 13:49 (UTC) (edited on 2024-08-08 13:49 (UTC) by joao.sa)

Getting the same error as @marico.righi, additionally I tested it in a Debian VM and also obtained the same error, but the output indicated that it might be somehow Perl module related...?

Aug 08 14:44:03 Debian sendEmail[5325]: SUCCESS => Received:    220 2.0.0 Ready to start TLS
Use of uninitialized value $2 in concatenation (.) or string at /usr/share/perl5/IO/Socket/SSL.pm line 792.
Aug 08 14:44:03 Debian sendEmail[5325]: ERROR => TLS setup failed: hostname verification failed
sudo dpkg -l libnet-ssleay-perl libio-socket-ssl-perl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version      Architecture Description
+++-========================-============-============-=================================================================
ii  libio-socket-ssl-perl    2.081-2      all          Perl module implementing object oriented interface to SSL sockets
ii  libnet-ssleay-perl:amd64 1.92-2+b1    amd64        Perl module for Secure Sockets Layer (SSL)

marco.righi commented on 2023-01-03 19:37 (UTC) (edited on 2023-01-03 19:44 (UTC) by marco.righi)

New Bug?

The command

sendEmail -f "fromemail@emaila.com" -u "messageSubject" -t "toemail@emailb.com" -s "smtp.emaila.com:587" -o tls=yes -xu "fromemail@emaila.com" -m "messageBody" -xp "123!!!123!!!"

generates...

sendEmail[183727]: ERROR => TLS setup failed: hostname verification failed

The installed packages:

pacman_Qs.sh |grep -isendemail|sed 's/local\///'
sendemail 1.56-2
pacman_Qs.sh |grep perl|sed 's/local\///'|grep -e [0-9]
cairo-perl 1.109-2
glib-perl 1.329.3-3
pango-perl 1.227-15
pcsc-perl 1.4.14-13
perl 5.36.0-3
perl-alien-build 2.74-1
perl-alien-libxml2 0.19-1
perl-autovivification 0.18-8
perl-b-hooks-endofscope 0.26-1
perl-bit-vector 7.4-13
perl-business-isbn 3.007-1
perl-business-isbn-data 20210112.006-1
perl-business-ismn 1.202-1
perl-business-issn 1.005-1
perl-cairo-gobject 1.004-12
perl-capture-tiny 0.48-6
perl-carp-always 0.16-2
perl-carp-clan 6.08-5
perl-cgi 4.54-2
perl-class-accessor 0.51-2
perl-class-data-inheritable 0.09-2
perl-class-inspector 1.36-5
perl-class-load 0.25-2
perl-class-singleton 1.6-1
perl-clone 0.45-4
perl-config-general 2.64-1
perl-data-compare 1.27-2
perl-data-dump 1.25-3
perl-data-optlist 0.112-2
perl-data-uniqid 0.12-10
perl-data-uuid 1.226-3
perl-date-calc 6.4-9
perl-datetime 1.59-1
perl-datetime-calendar-julian 0.107-1
perl-datetime-format-builder 1:0.83-3
perl-datetime-format-strptime 1.79-1
perl-datetime-locale 1.37-1
perl-datetime-timezone 2.56-1
perl-dbi 1.643-4
perl-devel-checkcompiler 0.07-8
perl-devel-stacktrace 2.04-2
perl-digest-hmac 1.04-3
perl-digest-sha1 2.13-17
perl-dist-checkconflicts 0.11-8
perl-encode-locale 1.05-9
perl-error 0.17029-4
perl-eval-closure 0.14-8
perl-exception-class 1.45-2
perl-exporter-tiny 1.006000-1
perl-extutils-depends 0.8001-3
perl-extutils-pkgconfig 1.16-9
perl-ffi-checklib 0.31-2
perl-file-basedir 0.09-2
perl-file-chdir 0.1011-4
perl-file-copy-recursive 0.45-5
perl-file-desktopentry 0.22-9
perl-file-find-rule 0.34-9
perl-file-listing 6.15-2
perl-file-mimeinfo 0.33-1
perl-file-sharedir 1.118-2
perl-file-sharedir-install 0.14-1
perl-file-slurp-tiny 0.004-8
perl-file-slurper 0.013-1
perl-file-which 1.27-2
perl-filesys-df 0.92-13
perl-font-ttf 1.06-4
perl-glib-object-introspection 0.049-3
perl-goocanvas2 0.06-5
perl-goocanvas2-cairotypes 0.001-6
perl-graphics-tiff 12-3
perl-gtk3 0.038-2
perl-gtk3-imageview 10-2
perl-gtk3-simplelist 0.21-1
perl-html-form 6.10-1
perl-html-parser 3.80-1
perl-html-tagset 3.20-12
perl-http-cookies 6.10-3
perl-http-daemon 6.14-2
perl-http-date 6.05-5
perl-http-message 6.44-1
perl-http-negotiate 6.01-10
perl-http-response-encoding 0.06-6
perl-http-server-simple 0.52-3
perl-image-exiftool 12.50-1
perl-image-sane 5-4
perl-inc-latest 0.500-9
perl-io-html 1.004-3
perl-io-socket-ssl 2.078-1
perl-io-string 1.08-12
perl-ipc-run3 0.048-10
perl-ipc-system-simple 1.30-4
perl-json 4.10-1
perl-json-maybexs 1.004003-4
perl-libintl-perl 1.32-3
perl-libwww 6.67-1
perl-lingua-translit 0.28-7
perl-list-allutils 0.19-1
perl-list-moreutils 0.430-3
perl-list-moreutils-xs 0.430-3
perl-list-someutils 0.59-1
perl-list-utilsby 0.12-1
perl-locale-codes 3.72-1
perl-locale-gettext 1.07-12
perl-log-log4perl 1.57-1
perl-log-message 0.08-8
perl-log-message-simple 0.10-8
perl-lwp-mediatypes 6.04-2
perl-lwp-protocol-https 6.10-4
perl-mailtools 2.21-6
perl-math-round 0.07-4
perl-mime-charset 1.013.1-1
perl-module-build 0.4232-1
perl-module-implementation 0.09-8
perl-module-runtime 0.016-2
perl-mozilla-ca 20221114-1
perl-mro-compat 0.15-1
perl-namespace-autoclean 0.29-4
perl-namespace-clean 0.27-8
perl-net-dbus 1.2.0-4
perl-net-http 6.22-2
perl-net-oauth 0.28-12
perl-net-ssleay 1.92-2
perl-number-bytes-human 0.11-6
perl-number-compare 0.03-12
perl-package-deprecationmanager 0.17-8
perl-package-stash 0.40-2
perl-package-stash-xs 0.30-1
perl-params-util 1.102-3
perl-params-validate 1.31-1
perl-params-validationcompiler 0.30-5
perl-parse-recdescent 1.967015-2
perl-parse-yapp 1.21-5
perl-path-class 0.37-8
perl-path-tiny 0.144-1
perl-pdf-api2 2.041-2
perl-pdf-builder 3.022-2
perl-perlio-utf8-strict 0.009-1
perl-proc-processtable 0.634-2
perl-proc-simple 1.32-8
perl-readonly 2.05-4
perl-regexp-common 2017060201-5
perl-role-tiny 2.002004-3
perl-set-intspan 1.19-8
perl-sort-key 1.33-11
perl-sort-naturally 1.03-8
perl-specio 0.48-1
perl-sub-exporter 0.988-2
perl-sub-exporter-progressive 0.001013-8
perl-sub-identify 0.14-10
perl-sub-install 0.928-8
perl-sub-name 0.26-4
perl-sub-uplevel 0.2800-4
perl-term-readkey 2.38-7
perl-term-readline-gnu 1.45-1
perl-term-ui 0.50-2
perl-test-fatal 0.016-3
perl-test-requires 0.11-4
perl-test-warn 0.37-1
perl-text-bibtex 0.88-1
perl-text-csv 2.02-1
perl-text-glob 0.11-9
perl-text-iconv 1.7-21
perl-text-roman 3.5-9
perl-tie-cycle 1.225-7
perl-timedate 2.33-4
perl-tree-dag-node 1.32-1
perl-try-tiny 0.31-2
perl-unicode-linebreak 2019.001-5
perl-uri 5.17-1
perl-variable-magic 0.63-1
perl-www-mechanize 2.15-1
perl-www-robotrules 6.02-10
perl-x11-protocol 0.56-13
perl-xml-libxml 2.0208-1
perl-xml-libxml-simple 1.01-1
perl-xml-libxslt 2.002000-1
perl-xml-namespacesupport 1.12-4
perl-xml-parser 2.46-4
perl-xml-sax 1.02-1
perl-xml-sax-base 1.09-4
perl-xml-sax-expat 0.51-7
perl-xml-simple 2.25-7
perl-xml-twig 3.52-9
perl-xml-writer 0.900-1
perl-xml-xpath 1.48-1
python-hyperlink 21.0.0-4

Where to submit the bug?

workdowg commented on 2022-05-19 13:58 (UTC) (edited on 2022-05-19 13:59 (UTC) by workdowg)

As of May 30, 2022 Google will no allow "less secure apps". Unfortunately that means we can no longer use this app to send STMP email (ex. user@gmail.com -s smtp.gmail.com:587 -xu). Is there a workaround or feature to use this app with Gmail OAUTH2?

severach commented on 2016-09-12 05:24 (UTC)

Looks like I never got this message. Here is the fix from 2 years ago.

bluelupo commented on 2015-12-31 15:26 (UTC)

Hi Maintainer, when you run the "sendEmail" program the following error occurs: invalid SSL_version specified at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 568. Installing sendEmail via yaourt went smoothly and an error did not occur. system infos: # pacman -Qi sendemail Name : sendemail Version : 1.56-1 Beschreibung : A lightweight command line SMTP email client written in Perl Architektur : i686 URL : http://caspian.dotconf.net/menu/Software/SendEmail/ Lizenzen : GPL Gruppen : Nichts Stellt bereit : Nichts Hängt ab von : perl perl-net-ssleay perl-io-socket-ssl Optionale Abhängigkeiten: Nichts Benötigt von : Nichts Optional für : Nichts In Konflikt mit : Nichts Ersetzt : Nichts Installationsgröße : 79,00 KiB Packer : Unknown Packager Erstellt am : Do 31 Dez 2015 15:55:21 CET Installiert am : Do 31 Dez 2015 15:55:32 CET Installationsgrund : Ausdrücklich installiert Installations-Skript : Nein Verifiziert durch : Nichts # uname -r 4.3.3-3-MANJARO Regards bluelupo

connaisseur commented on 2014-11-01 07:52 (UTC)

Got hit (AGAIN!) by some SSLv3 Version wrong issue. Found that the Debian Guys got a fix for this. With this fix it works for me, finally. Created a new PKGBUILD and placed it on pastebin.com: http://pastebin.com/GAd7ZwQK Enjoy!

psytoolkit commented on 2014-09-21 18:11 (UTC)

This package had problems. I wrote a similar programme, called send_email_via_smtp, which is now also on AUR.

psytoolkit commented on 2014-07-01 12:53 (UTC)

Instead of this package, smpt-cli works without problems.

psytoolkit commented on 2014-07-01 11:31 (UTC)

The patch link does not work. What does it mean to "restrict perl-io-socket-ssl<=1.66", I do not know how to deal with that.

connaisseur commented on 2013-04-15 05:42 (UTC)

Guys, with latest perl-io-socket-ssl release the patch to sendEmail has to look like this: diff -ruN a/sendEmail-v1.56/sendEmail.pl b/sendEmail-v1.56/sendEmail.pl --- a/sendEmail-v1.56/sendEmail.pl 2009-09-29 18:25:27.000000000 +0200 +++ b/sendEmail-v1.56/sendEmail.pl 2013-04-15 07:28:22.543469705 +0200 @@ -1903,7 +1903,7 @@ if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) { printmsg("DEBUG => Starting TLS", 2); if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); } - if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) { + if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3', SSL_verify_mode => '0')) { quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1); } printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);