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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal E-mail not sending CSS forms information

Thread began 7/24/2010 8:02 pm by bigred | Last modified 7/27/2010 4:43 pm by bigred | 543 views | 4 replies |

bigred

Universal E-mail not sending CSS forms information

Hello, I just recently started using the CSS forms extension for dreamweaver and I built a form that I like very much. I realized that the program had no e-mail function to it, so I then bought universal e-mail.

I applied that program to the page with my CSS form on it and when I test the page with the submit button, it just refreshes the page with the same address only it's now a white background instead of moving to my thank you page that I made. I did try to have it forward to a thank you page when I first initiated the universal e-mail program.

I also do not get the e-mail with the contact form information.

I have yahoo for a server and I had already changed my code from these recommendations from another thread:

WA_Universal_Email/WAUE_contact_1.php file.

Find the line:

$MailFrom = "".((isset($_POST["Email_address"]))?$_POST["Email_address"]:"") ."";


and change that to an address from your domain:
$MailFrom = "somebody@myDomain.com";


also, in the mail_PHP.php file, try changing:

$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader );


to:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader , "-f".$mailFrom);

Can you help me to troubleshoot the issue please?

I have my page code attached

Thank you.

Attached Files
contactform.txt
Sign in to reply to this post

Eric Mittman

If you are getting a white page there is probably a php error occurring and you have error reporting turned off. To enable error reporting add this code to the top of your page then test it again:

php:
<?php 

error_reporting
(E_ALL); 
ini_set('display_errors','on'); 
?>



As for setting the from flag you should not need to do this in the code, but from the interface directly. If you click on the mail object settings button (envelope icon) you will have a check box option for setting this from parameter. I'm including a screen shot of this interface with the box checked. Please post back with more detail if the error message is not clear and something that you can resolve.

Sign in to reply to this post

bigred

problem solved

Eric, thanks for your response. I actually did some playing since my last post and had changed the e-mail settings for the server. Then I was having issues with receiving blank e-mails still, so I did a lot of searching in the forums to find that I had to include the bindings in the body portion of the message. I was unaware that the program didn't automatically forward all the form contents and I had no idea what bindings were until just yesterday.

I think it would be great to have a PDF help file for some common uses of both the CSS forms WITH Universal E-mail since those are both Webassist programs.

Thank you for your quick response.

Sign in to reply to this post

Eric Mittman

I see, in Universal Email if you choose to 'create a file for your email' with the checkbox you will have a page that automatically lists all of the fields and their values. I think it is a better way to go to use the bindings and add in the values where you would like them to be though.

On the Universal Email support page there is a link on the right side for archived documentation. In here you can take a look at the getting started guide for UE3 or the 'create an html email' section. I would have directed you to these resources earlier but I did not realize it was the message body that was coming up blank. Based on your first post I thought it was the page with UE on it that was coming up blank after submitting the form.

Sign in to reply to this post

bigred

that was initially the problem. I think every time I changed one thing, something else went wrong. It took about 30 tries before I got it to work, but I like the bindings option as well because it allows me to customize the e-mail a bit more.

Sign in to reply to this post

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