Linux и серверы

IT Knowledge Base » sendEmail from Bash over GMail

Материал перенесён из старой базы знаний ATC-IP и оформлен в едином стиле нового сайта.

IT Knowledge Base
daily life instructions
about this blog
FB!Sandbox
This theme has been downloaded from
wordpress themes
website.
sendEmail from Bash over GMail
The syntax is following:
sendEmail -v –f $EMAIL_FROM -s smtp.gmail.com:587 -xu p$USERNAME –xp $PASSWORD –t $EMAIL_TO -o tls=yes –u $SUBJECT –m $MESSAGE
But after I tried it I got following message:
ERROR => No TLS support! SendEmail can’t load required libraries. (try installing Net::SSLeay and IO::Socket::SSL
This fixed the problem:
apt-get install libio-socket-ssl-perl libnet-ssleay-perl
admin on February 10th 2012 in
Linux
No Comments »
Comments RSS
Leave a Reply
Name (required)
Mail (hidden) (required)
Website
CAPTCHA Code
Search for:
Recent Posts
Deploy ODBC Setting with Windows Authentication via GPO
Compact a vhdx disk
Install the IPAM Server on Windows 2012 R2
Can’t add the Event Viewer from a Remote Machine to a Management Console (MMC)
Troubleshooting Active Directory Replication
Categories
.Net
Aussie Life
Browser
Email
Encryption
Exchange Server
General
Google Earth
Google Map
Internet
IT
Life
Linux
MAC
Mobile
MS Office
MSSQL
Music
MySQL
Network
PHP
PowerShell
Search Engine
Smartphones
Virtual Reality
VJ
VMWare
Windows
Windows Server
Wordpress
Archives
September 2015
May 2015
April 2015
March 2015
February 2015
January 2015
July 2014
June 2014
May 2014
April 2014
January 2014
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
November 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
September 2011
August 2011
July 2011
May 2011
March 2011
February 2011
January 2011
December 2010
November 2010
September 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
December 2009
November 2009
October 2009
September 2009
July 2009
June 2009
May 2009
March 2009
February 2009
January 2009
December 2008
November 2008
Позвонить +7 (343) 382-33-16