PDA

View Full Version : sending 2 different emails from the one perl script


Jimmbo
03-14-2005, 05:02 AM
Hi

Does anyone know if its possible and can you share, how to send two different emails from the one perl script or if there is a better way of dxoing what I want to do.

I need to information in a form to be sent to my email but I also want a thankyou email sent to the person who filled it out...

Thankyou

rwedge
03-14-2005, 06:50 AM
Hi Jimmbo, it certainly is possible, it depends on your script.
If, for instance you were using something like FormMail (http://nms-cgi.sourceforge.net/formmail_compat-3.14c1/) , you could enable $send_confirmation_mail as show in Examples (http://nms-cgi.sourceforge.net/formmail_compat-3.14c1/EXAMPLES) .

/Bob