

- #FORMS TO GO BY BEBOSOFT GENERATOR#
- #FORMS TO GO BY BEBOSOFT FULL#
- #FORMS TO GO BY BEBOSOFT SOFTWARE#
Your body contents here, you can includ variables to\n You can make the email body multi line like this this is the main body of the email where you need to add your content $mail->AddAddress("to_addr " ,"Their Name") $mail->Password = "secret" // SMTP password

$mail->Username = "jswan" // SMTP username $mail->SMTPAuth = true // turn on SMTP authentication you only need the next 3 lines if your smtp host requires authentication in the action) to a file called process.php (or something similar) In the download for phpmailer there is a file called you need to copy this file and put it in the same directory as the form and the script (that you are about to make). Heres the basics of what you need to do to get phpmailer working. Mail($confEmailTo, $confEmailSubject, $confEmailBody, $confEmailHeader) "Content-transfer-encoding : quoted-printable\n" $confEmailHeader = "From: "Reply-To: "Content-type: text/plain charset=\"ISO-8859-1\"\n" $confEmailBody = "company: $FTGcompany\n" $confEmailSubject = "Online Submission Form Confirmation" Mail($emailTo, $emailSubject, $emailBody, $emailHeader) "Content-Transfer-Encoding : quoted-printable\n" $emailSubject = "Online Submission Form". } elseif ( (strlen($value) = $low) & (strlen($value) ' If ( $mail_object->send($recipi ents, $headers, $body) )īELOW IS THE FORM PROCESSOR I CREATED IN BEBOSOFT: $mail_object =& Mail::factory('smtp', $params) Create the mail object using the Mail::factory method Here is what PEAR Mail::Factory method has: (which I've pasted below.)ĭoes anyone out there know the correct code to insert into this form for SMTP mail? I'm not sure how/where to insert the correct SMTP code into my exisitng form. (The host also says they also support "PEAR Mail::Factory method.) But the form program doesn't include an option for SMTP mail just "sendmail". The form i just created isn't working because my host requires SMTP to send form email. I am using a HTML to form mail program to create my PHP forms. I'm also wondering if this simple hack is an alternative to using reCAPCHA which can be a bit time consuming to set up if one is creating many websites for different clients on a regular basis and updating ancient sites from many years ago.I'm new to PHP. I just performed a test on one of my own test servers. Not sure if it will stop the spam for the customer at this time though as I have not actually uploaded to their main site. I uploaded the updated code and the old form works as expected with the error and success pages displaying. Just double checking as the code mark up below displays correctly now.
#FORMS TO GO BY BEBOSOFT FULL#
I replaced this line with your full code including the URL of the contact page and it removed all the mark ups in the code below, so I'm assuming it goes directly above this as described?
#FORMS TO GO BY BEBOSOFT GENERATOR#
This old PHP generator starts the code off with
#FORMS TO GO BY BEBOSOFT SOFTWARE#
It's old PHP form code software created many years ago and has not been updated for many years so I don't use it anymore - so for anyone else reading this post please do not try downloading and using this as it is now defunk, but I have many old websites still using this old script generator. It was created by forms to go /products/formstogo/overview/ I've just run a quick test with this script in an old php script for a web form without reCAPCHA.
