mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
76_MSGMail: Clean up net::smtp version number before comparison
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12723 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
56a7a54e8a
commit
41b3f4e1fa
1
CHANGED
1
CHANGED
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 76_MSGMail: Clean up net::smtp version number before comparison
|
||||
- bugix: 14_Hideki: fixed wrong return in ParseFn (msg533900)
|
||||
14_SD_WS: fixed wrong return in ParseFn (msg533900)
|
||||
90_SIGNALduino_un: fixed wrong return in ParseFn (msg533900)
|
||||
|
@ -68,7 +68,8 @@ sub MSGMail_Initialize($)
|
||||
|
||||
# check version of libnet - if < 3.00, try to load Net::SMTP::SSL
|
||||
$MSGMail_SMTP = $Net::SMTP::VERSION;
|
||||
if ($Net::SMTP::VERSION >= 3)
|
||||
$MSGMail_SMTP =~ s/[^0-9.].*$//;
|
||||
if ($MSGMail_SMTP >= 3.00)
|
||||
{
|
||||
$MSGMail_SSL = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user