Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: sending email with starttls not working

by perlfan (Vicar)
on Jun 01, 2020 at 18:39 UTC ( #11117565=note: print w/replies, xml ) Need Help??


in reply to sending email with starttls not working

This works for me, but I also don't have issues with my openssl or IO::Socket::SSL. I'd look there first.
my $config = Config::Tiny->new(); $config = Config::Tiny->read($config_file); my $transport = Email::Sender::Transport::SMTP::TLS->new( host => $config->{email}->{smtp_host}, port => 587, # defaults to TLS if not set username => 'bgates@microsoft.com', password => '66Fc1eb207d4380', helo => 'HELO', ); my $message = Email::Simple->create( header => [ From => 'bgates@microsoft.com', To => $to, Subject => $subject, ], body => $content, );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11117565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-08-13 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?