Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: creating a secure environment for perl scripts to run

by talexb (Chancellor)
on Feb 02, 2022 at 02:01 UTC ( [id://11141045]=note: print w/replies, xml ) Need Help??


in reply to Re^4: creating a secure environment for perl scripts to run
in thread creating a secure environment for perl scripts to run

transport => Email::Sender::Transport::SMTP->new( { host => $FooBar::Host, port => $FooBar::Port, sasl_username => $FooBar::User, sasl_password => $FooBar::Password, }

Don't worry about $FooBar, that's just the simplified name for my local authentication module. Just put your site-specific values for the mail host, the port it uses, the user and the password here. As before, those values should come from some sort of configuration file that is *not* stored in your repo. Never commit credentials to your repo. Never.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found