close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CSS FormBuilder Email functionality...

Thread began 12/03/2010 2:33 pm by markhaynes75235 | Last modified 12/17/2010 2:57 pm by markhaynes75235 | 2269 views | 14 replies

markhaynes75235

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:

<?php
require_once "Mail.php";

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

$host = "smtp.mydomain.org";
$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.

Thanks!

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

Content

rating

Layout

rating

Ease of use

rating

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...