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

Just getting started...

Thread began 3/24/2011 12:54 pm by brian424100 | Last modified 4/05/2011 10:59 am by brian424100 | 3301 views | 20 replies

Jason ByrnesWebAssist

the forms action should not be set t post to the gdform.php script.


you would use the gdform.php script in place of Universal Email, not with it.


you should change the forms action:
<form id="form1" name="form1" method="post" action="/gdform.php">

to:
<form id="form1" name="form1" method="post" action="">

so that the form will post to itself.


When using Universal Email, the only time the connection file to the database is an issue is if you have set up the email logging features.


GoDaddy can be meritoriously troublesome with sending emails. Before starting with Universal Email, you should double check the following with GoDaddy:

Is your hosting package Unix or Windows? If it is Windows, you should have them transition you to a Unix Host.

s your PHP running PHP 4 or 5? If it is running PHP 4, you should have them upgrade you to PHP 5.


Once you can verify that you are on a Unix host running PHP 5, here the most basic steps for creating a page that will send an email using Universal Email.

1) Start with a blank PHP page, Add a form to it(Insert -> Form -> Form). In the form add a text box (Insert-> Form -> Text Field), and a submit button (Insert -> Form -> Button). at this stage, the entire page should look like this in code view:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
<input type="text" name="email" id="email" />
<br />
<input type="submit" name="button" id="button" value="Submit" />
</form>
</body>
</html>



2) Add universal Email to the page. Go to Webassist -> Create Email Message.

Use the following settings on the main page of the wizard:
- Trigger to: Any Form Post
- Go To page: thankyou.php (make sure you create this page also)
- From: use a valid email for your domain, for example if my domain is:
mydomain.com
I would use something like: contact@mydomain.com
-To: Click the lightning bolt and select the email form element from the dynamic data bindings.
- Subject: Your Test Email

In the email Body sect, check the option to create a file for the email and select a template.

3) In the toolbar section, click the envelope icon to configure mail server settings. use the following settings:
-Email object: Mail
-Character Set: Default
-SMTP Server: relay-hosting.secureserver.net
-Port: 25
- Check the Include From Address as an additional parameter option

see the attached screen shots for examples of the settings to use.

Once you have configured the Mail Server settings click the OK button to save them, verify that the settings in the initial screen are correct, then click the finish button.

Now you need to upload your page, and the webassist directory.

none of the settings that where used in this example need a database connection, so any errors about a connection file can be ignored.

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