August 18th, 2000, 09:27 AM
I have a form on my web site that visitors can complete and the results are sent to me via e-mail. I'd like to add a 'browse' field to the form so that when the visitor submits the form, the e-mail is sent with their chosen text, wordprocessor or other file (if they chose one) included as an attachment.
Can anyone help please?
August 18th, 2000, 04:58 PM
August 18th, 2000, 06:04 PM
Thank you, I downloaded this but I'm on a virtual server that doesn't have Telnet access so I couldn't install it
Thanks again anyway
August 18th, 2000, 07:34 PM
You might not need to install it. If you extracted Mail-Sender-0.7.04.tar.gz, you should see a file called "Sender.pm", that is the one you needed. You can simply upload this file to your server but be sure to create a Mail directory and place Sender.pm in it.
In your script, add a "use lib" line like so:
use lib '/data/vhost/actionpoint.com/lib';
You should check -> http://www.devshed.com/Talk/Forums/F...ML/000340.html and see if your server already have Mail::Sender installed or not.
Anyway, you can try to use it by specifying the use Mail::Sender; line without the "use lib" line and see if it produces any error "@INC...".