Results 1 to 5 of 5
10-23-2007, 12:13 PM #1
I would like to add and configure FormMail.php and FormMail.pl to upload file from FormMail.php and send that as the attachment.
I am using FormMail.pl version 1.92.
How do i need to change,
<FORM method="POST" action="http://www.myweb.com/cgi-bin/FormMail.pl" name=driver_info>
and configure FormMail.pl
10-24-2007, 11:33 AM #2
Hi, do you mind posting your code. I have never used Formmail.pl
10-24-2007, 12:08 PM #3
I am using Matts script.
Here is the url
Last edited by HTML; 10-24-2007 at 12:40 PM.
10-24-2007, 04:31 PM #4
Can you post a copy of your formmail.pl
The one I can get from their website is DEFAULT. Therefore is set to work. You may have made an error whilst editing the script to suit your needs (i.e. send to email).
10-24-2007, 04:39 PM #5
Ah okay sorry, you want to change the script to suit attached files. I'm not 100% sure how you want to access the file uploaded.
As I said i'm not familiar with using Matts scripts. So i'm not sure if it supports attachments.
The option I use and is probably the best...
Use module Mime::Lite (http://search.cpan.org/dist/MIME-Lite/lib/MIME/Lite.pm).
Now do you want a form which allows the user to browse for a file, and write out the email and send. Or is the file already stored somewhere, so no uploading is required??? Explain a bit more then I can write you a script if you are happy to use Mime::Lite. Otherwise I can look into Matts script a bit more, although i've heard some bad things hehe