- Carl
There is a subroutine called "send_mail".
This subroutine sends an email to you everytime somebody fills out the form on your site.
To send a thank you email to that person, you can insert the following lines after the line "close (MAIL);"
open(MAIL,"¦$mailprog");
print MAIL "To: $Config{'email'}
print MAIL "From: $Config{'recipient'}\n";
print MAIL "Subject: Thank you for contacting us'\n\n";
print MAIL "Here comes your text...\n\n";
print MAIL "Regards,\n";
print MAIL "[your name]\n\n";
close (MAIL);
Don't forget to change the ¦ character ;-)