Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Feedback on my second script

by jonadab (Parson)
on May 15, 2013 at 10:47 UTC ( #1033657=note: print w/replies, xml ) Need Help??

in reply to Re^2: Feedback on my second script
in thread Feedback on my second script

I would send a mail... How could i do something like this

I've traditionally used Mail::Sendmail for that; although, Mail::Send may also be worth considering.

Note too that it's generally unsafe to allow the user to specify a destination address for mail (unless you have carefully authenticated the user). In simple cases like this, it's often best to hardcode the destination address. In more advanced cases, possible destination addresses can be stored in a configuration file or database that only system administrators can edit, and the user can be allowed to select from among them.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033657]
[Corion]: erix: It's needed for keeping the list of users and the list of tags associated with an image, and for keeping the images with users. I want an easy way to know if an image can be deleted, which means that it can't be referenced by any tag anymore. ...
[Corion]: SQL feels like a natural choice here :)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2018-03-20 14:10 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (253 votes). Check out past polls.