|
| A R C H I V E D M E S S A G E |
|
Subject: NEW, CUSTOM RESULTS EMAIL MODULE FOR LINUX |
| Posted: 04/04/2004 at 8:00:38 pm |
| By: Seth Knorr |
| The new "CUSTOM RESULTS EMAIL MODULE" for the linux version of this script is now downloadable. To download and update download the zip file located here:
http://www.bizmailform.com/update_results.zip
(Note to use, you must first install the Linux (main) version 2.1 or higher of biz mail form)
After downloading just read the update_readme.zip for instructions.
Seth | |
|
|
Subject: Re: NEW, CUSTOM RESULTS EMAIL MODULE FOR LINUX |
| Posted: 04/05/2004 at 5:36:37 am |
| By: mikeknorrbiz |
| Thanks HEAPS in advance Seth
I surmise this is the module that will send a response to the owner of the site in HTML as well as sending HTML response to the form submitter.
I may not get round to setting it up tonight, but I sure will be in the morning.
Much appreciated
Tony | |
|
|
Subject: Re: NEW, CUSTOM RESULTS EMAIL MODULE FOR LINUX |
| Posted: 04/05/2004 at 5:50:50 am |
| By: Seth Knorr |
| Yes, it will do both that you said, or in plain text.
Seth | |
|
|
Subject: Re: NEW, CUSTOM RESULTS EMAIL MODULE FOR LINUX |
| Posted: 04/06/2004 at 7:38:53 am |
| By: mikeknorrbiz |
| Seth
Update works GREAT
Easy to set up
Only prob that I originally encountered was that there was no subject in the email sent to the owner of the form.
I believe there was an omission in the update_readme.txt & that is there also needs one more hidden field -
<input type="hidden" name="subject" value="Your Subject">
I also made a modification to sendmail.cgi so that in my mail program I would see the "Name" of the person that filled in the form in the header, not just their email address. This makes it easier to find an email that one of our customers has sent.
The alteration is below -
use MIME::Lite;
MIME::Lite->send("sendmail", "$mailprog -t -oi -oem");
$MYmsg = MIME::Lite->new(
From => "$formdata{'customer_first_name'} $formdata{'customer_last_name'} <$formdata{'customer_email'}>",
To => $mail_sendto,
Subject => $formdata{'subject'},
Type => $results_format,
Data => $results_body,
"X-Loop:" => "RESULTS",
"X-Arpidentifier:" => 111
);
$MYmsg->send;
###########################################################
if ($formdata{'sendreply'} eq "1"){
$msg = MIME::Lite->new(
From => $mail_sendto,
To => "$formdata{'customer_first_name'} $formdata{'customer_last_name'} <$formdata{'customer_email'}>",
Subject => $reply_subject,
Type => $email_format,
Data => $mime_body,
"X-Loop:" => "BIZMAIL",
"X-Arpidentifier:" => 12345
);
This could be altered to anything to suit the form designers particular needs
eg -
"$formdata{'firstname'} $formdata{'lastname'} <$formdata{'customer_email'}>"
if the form fields are "firstname" & "lastname"
OR
"$formdata{'name'} <$formdata{'customer_email'}>"
if there is only one form field for both first & last names
A full working site with shopping cart system using your scripts is at http://www.motivepower.net.au
or if you find you can't enter it through that URL ( still working on that ) you will be able to enter through http://www.railscenes.com.au/mpp/index_original.html
Thanks once again for all the effort & great work
Tony | |
|
|
Subject: Re: NEW, CUSTOM RESULTS EMAIL MODULE FOR LINUX |
| Posted: 04/06/2004 at 8:11:48 am |
| By: Seth Knorr |
| Actualy as stated in the update readme, THE ONLY VARIABLES EXPLAINED are the new ones, not used in the regular release. You still have to read the regular readme for setup.
Seth | |
|
|