Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: gmail and Net::SMTP

by bliako (Monsignor)
on Mar 12, 2020 at 21:18 UTC ( [id://11114192]=note: print w/replies, xml ) Need Help??


in reply to gmail and Net::SMTP

I have successfully used code like below for sending via my local net-provider:

$response = Email::Sender::Simple::sendmail( $emailobj, {'transport' => Email::Sender::Transport::SMTPS->new($smtp_params)} );

where $emailobj is produced using Email::MIME->create() and then keep adding attachments to it.

There are a few examples at the manpage of Email::MIME. If you need more concrete help let us know. I am not posting anything else as I don't know if this is a 2020-approved method.

bw, bliako

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-23 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found