EPrints Technical Mailing List Archive

Message: #06767


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Eprints GMAIL SMTP Configuration


Hello,
We have been trying to integrate with our GMAIL SMTP Server. while checking the send test email got the below error. Kindly help us.

invalid SSL_version specified at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 2313, <GEN13> line 10.
	IO::Socket::SSL::SSL_Context::new('IO::Socket::SSL::SSL_Context', 'HASH(0x7f28b41f7dd8)') called at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 625
	IO::Socket::SSL::configure_SSL('IO::Socket::SSL=GLOB(0x7f28b41fe978)', 'HASH(0x7f28b41f7dd8)') called at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 1494
	IO::Socket::SSL::start_SSL('IO::Socket::SSL', 'IO::Socket::SSL=GLOB(0x7f28b41fe978)', 'SSL_version', 'SSLv3 TLSv1') called at /usr/local/share/perl/5.18.2/IO/Socket/SSL.pm line 2003
	IO::Socket::SSL::socket_to_SSL('IO::Socket::SSL=GLOB(0x7f28b41fe978)', 'SSL_version', 'SSLv3 TLSv1') called at /usr/local/share/perl/5.18.2/Net/SMTP/TLS.pm line 181
	Net::SMTP::TLS::starttls('Net::SMTP::TLS=HASH(0x7f28a0165ad8)') called at /usr/local/share/perl/5.18.2/Net/SMTP/TLS.pm line 123
	Net::SMTP::TLS::new('Net::SMTP::TLS', 'smtp.gmail.com', 'Hello', 'eprints-server.on-linux.org', 'Port', 587, 'User', 'journals@iith.ac.in', 'Password', ...) called at /opt/eprints3/perl_lib/EPrints/Email.pm line 168
	EPrints::Email::send_mail_via_smtp('from_email', 'kss@iith.ac.in', 'from_name', 'raiith', 'session', 'EPrints::Repository=HASH(0x557aab663ed0)', 'to_email', 'raja@inflibnet.ac.in', 'subject', ...) called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1732
	eval {...} called at /opt/eprints3/perl_lib/EPrints/Repository.pm line 1732
	EPrints::Repository::call('EPrints::Repository=HASH(0x557aab663ed0)', 'send_email', 'from_email', 'kss@iith.ac.in', 'from_name', 'raiith', 'session', 'EPrints::Repository=HASH(0x557aab663ed0)', 'to_email', ...) called at /opt/eprints3/perl_lib/EPrints/Email.pm line 121
	EPrints::Email::send_mail('session', 'EPrints::Repository=HASH(0x557aab663ed0)', 'langid', 'en', 'to_email', 'raja@inflibnet.ac.in', 'subject', 'Test email from http://raiith.iith.ac.in/ ☺', 'message', ...) called at /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/TestEmail.pm line 62
	EPrints::Plugin::Screen::Admin::TestEmail::action_test_email('EPrints::Plugin::Screen::Admin::TestEmail=HASH(0x7f28b420a908)') called at /opt/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 240
	EPrints::Plugin::Screen::from('EPrints::Plugin::Screen::Admin::TestEmail=HASH(0x7f28b420a908)') called at /opt/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 310
	EPrints::ScreenProcessor::process('EPrints::ScreenProcessor', 'session', 'EPrints::Repository=HASH(0x557aab663ed0)', 'template', undef, 'url', '/cgi/users/home') called at /opt/eprints3/cgi/users/home line 25
	ModPerl::ROOT::ModPerl::Registry::opt_eprints3_cgi_users_home::handler('Apache2::RequestRec=SCALAR(0x7f28b41e25f8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 206
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f28b4207a10)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 172
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f28b4207a10)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f28b41e25f8)') called at -e line 0

--
Thanks with Regards,
Raja V