Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Send email in Perl
Name: ShaqDiesel Date: April 20, 2008 at 18:13:06 Pacific OS: winXP CPU/Ram: amd64/1Gb Product: custom
Comment:
I have a web form whose user input I want to recieve in email form when the user clicks on submit. I'm working in a windows environment and using apache. I know how to do this in php, but can someone show me how to do this in perl 5? A simple html form and cgi script example would be very helpful. Thank you.
Name: FishMonger Date: April 21, 2008 at 09:11:11 Pacific
Reply:
There are a number of mail modules on cpan that are used for sending email. Most of the time I use MIME::Lite but occasionally I use Net::SMTP which is a core module.
However, if this is a web form used on the Internet, you should make sure you correctly setup the form and validation of the fields so that your form doesn't become a spam relay.
0
Response Number 2
Name: ShaqDiesel Date: May 4, 2008 at 22:00:27 Pacific
Reply:
thanks, but where can I find examples where I'm getting the information from a form? Is there an array in perl like $_REQUEST in PHP?
Are these modules built in with an installation of perl? I'm using XAMPP. If they aren't what folder am I supposed to download these modules to?
Summary: Hi, email newsletters can indeed be sent via your existing email system using the methods previously mentioned. If you do this, make sure that you don't reveal to the entire distribution other custome...
Summary: If it doesn't need to be in real-time (for which you would need something like php), you should put together a form that sends an email. I programme in PHP, so i can't really help, but try run a searc...
Summary: Hi once again, Does anyone know if there is any way to send email directly from Flash? What I want to do is very similar in sending email directly using a php script but I want to do it with Flash? An...