Dec 19, 2007, 7:46 AM
Post #1 of 3
Hi. I'm using sendmail in a Perl script to send an email to a specified address. I would like the user to also be copied on this email so that they recieve a copy of the email they sent using the program.
How do I get user's email adress?
Can sendmail be configured to send an email to the user's own email address without asking the user for that address? What code do I need to use in order to determine the user's email address?
Also, I'm using UNIX. So if sendmail can't determine a user's email address, does anyone know a way to do this?
(This post was edited by steveperltk on Dec 19, 2007, 10:55 AM)