Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^3: Send Email From Gmail

by Adamba (Sexton)
on Jun 19, 2010 at 13:09 UTC ( #845539=note: print w/replies, xml ) Need Help??

in reply to Re^2: Send Email From Gmail
in thread Send Email From Gmail

It's working!

changed the port to 587, now everything works!

Thank you monks! :)

Replies are listed 'Best First'.
Re^4: Send Email From Gmail
by Selvan (Initiate) on Sep 26, 2013 at 02:19 UTC
    Hi, I used following code ...
    use strict; use warnings; use Net::SMTP::TLS; my $mailer = new Net::SMTP::TLS( '', Hello => 'localhost', Port => 25, #redundant Timeout => 30, User => '', Password=> '********'); $mailer->mail(''); $mailer->to(''); $mailer->data; $mailer->datasend("Sent thru TLS!"); $mailer->dataend; $mailer->quit;
    but it is not working for me. The error message is
    ******************************************************************* Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification. If you really don't want to verify the certificate and keep the connection open to Man-In-The-Middle attacks please set SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application. ******************************************************************* at C:/Apps/Perl64/site/lib/Net/SMTP/ line 181. invalid SSL_version specified at C:/Apps/Perl64/lib/IO/Socket/ l +ine 389.
    Please help me to fix this issue. Thank you.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845539]
[Discipulus]: are we not yet in Summer?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-12-18 21:23 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (498 votes). Check out past polls.