gube has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have created an web page in CGI. The information entered in the page has to stored in MYSQL database. I have mentioned the MYSQL path in the CGI file. suppose, the MYSQL database folder is not found in the mentioned path means using CGI::Carp module i can able to see the error message in web browser.
Apart, from that if the folder is not found or data's not stored in database means i want to get a mail to my yahoo mail or any other mail. The mentioned database in the path is not found in the CGI file like the mail has to reach me.
Is it possible? Is there any module or code is applicable. please let me know the idea or sample code.
Thanks in advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to send a mail, if browser error occur ?
by merlyn (Sage) on Apr 22, 2005 at 01:11 UTC |