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.
|
---|