Various fixes for SSL/TLS, IMAP and email headers
Fix SMTP auth when "-usesmtptls" (i.e. Remove deprecated Net::SMTP::TLS in favor of Net::SMTP) Add "-smtpehlo" option, with host FQDN as default, for SMTP HELO/EHLO Add RFC 2822 compliant From, Date and Message-ID headers to emails (i.e. make spam filters hate these emails a little less) Add default imap port variables (143 (plain and STARTTLS) and 993 (SSL)) Correct IMAP SSL/TLS port default from explicit 585 to 993 via variable Correct missing require for IO::Socket::SSL, if using explicit IMAP SSL Correct default $imapfolder from undefined to "INBOX"
Showing with 38 additions and 12 deletions