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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Emails stopped going through

Thread began 2/02/2015 7:02 pm by rgolfer | Last modified 2/05/2015 3:03 am by Ray Borduin | 301 views | 2 replies |

rgolfer

Emails stopped going through

Hi Jason,
I changed something on the contact us form I was using. The emails go through to the main person but not to the person listed on the form (email address entered on the form). I know on the block template i changed the name on the form elements so they would go through as a proper title name but that should affect the to email address should it? I keep thinking it must have something to do with matching up the field names bitu I can't make it work.

form field ...
<input id="Email_Address" name="Email - Courriel" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("contactus","Email_Address"):"")); ?>" class="formTextfield_Medium" tabindex="6" pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}" title="Please enter a full email address" required>

to the CC entry ...
//CC Entries
$WA_MailObject = WAUE_AddCC($WA_MailObject,"".((isset($_POST["Email_Address"]))?$_POST["Email_Address"]:"") ."");

It has to look at the ID correct?



Just to update this as I test the email form and send a test email rather than going to the next page i get the for show that the fields were not filled out properly (see contact_us.jpg). It is supposed to go to an "email_sent.php" page.

Sorry but I'm stumped again. Could you please have a look at the attached and let me know if anything stands out?

Sign in to reply to this post

Jason ByrnesWebAssist

the code looks at the name, not the ID.

you have changed the element name to:
name="Email - Courriel"

this is not a valid form element name as it contain spaces.

this is the same reason the validation is failing, all of the form elements are using invalid names, such as the first name
name="First Name - Prénom"

the spaces and UTF 8 accented character are not valid.

Sign in to reply to this post

rgolfer

Thanks Jason,

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