close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CSS FormBuilder Email functionality...

Thread began 12/03/2010 11:33 am by markhaynes75235 | Last modified 12/17/2010 11:57 am by markhaynes75235 | 3812 views | 14 replies


CSS FormBuilder Email functionality...

I understand that the Universal Email functionality is included in CSS FormBuilder, and I've got a form in a shadowbox page that works fine with validation, it posts to a confirm page which has the same formbuilder simple contact form customized with all the elements hidden, etc. This form inserts data to two tables in my database fine using DataAssist (no redirects) and then it's supposed to send the form data to our development email address to alert us that a visitor has posted a question.

I'm testing on a local environment using the PEAR object and have successfully tested this email script:

require_once "Mail.php";

$from = "Mark Haynes <>";
$to = "Mark Haynes <>";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";

$host = "";
$username = "<myUsername>";
$password = "<mypassword>";

$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));

$mail = $smtp->send($to, $headers, $body);

if (PEAR::isError($mail)) {
echo("<p>" . $mail->getMessage() . "</p>");
} else {
echo("<p>Message successfully sent!</p>");

and everything works with that script (on two machines I've configured), I receive the email and the browser loads a success page.

Using the same server settings in the Universal Email interface, however I'm not getting the email or the redirect page.

I'm using the PEAR Mail using SMTP email object, Latin I(us-ascii) as my Character set, authentication is on with my Username and Password correctly entered, The path to PEAR is set to C:\PHP\PEAR, the smtp server address is properly entered using port 25, my organization name and PHP set as the X-Mailer

Perhaps there's something simple that I've overlooked. Any help would be appreciated.


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...