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

Email not sent upon form submit

Thread began 8/06/2009 4:53 pm by michellem310468 | Last modified 8/12/2009 5:59 pm by Eric Mittman | 1630 views | 6 replies |

michellem310468

Email not sent upon form submit

I am using Universal Email to send a registration confirmation upon submission of a registration form. Everything works great but no email is ever sent to either the TO or CC recipients. Can't seem to figure out why. UE works fine when used with the "forgot password" function.

Not sure that the below code is of any help, but can anyone enlighten me as to what some of a the possible causes for this would be?
Thanks.


<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".$row_WAATKusers['UserEmail'] ."";include("WA_Universal_Email/WAUE_users_Registration_1.php");

//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>

Sign in to reply to this post

Eric Mittman

If your recordset does not contain a value for this then you will not get the email sent. As a test of this you can add this in just above the line that sets the recipient:

die("The value of the UserEmail column is ".$row_WAATKusers['UserEmail'] );

This will let you know if the value is getting set before the email is sent. Unless you see the email address in this message it will not be sent.

Sign in to reply to this post

michellem310468

no luck

nothing new happened when I added die("The value of the UserEmail column is ".$row_WAATKusers['UserEmail'] );

Sign in to reply to this post

Miguel

Try placing a redirect when it finish sending the email i had this problem the hole day discovered that theUE might have a bug if that is not filled.

I see you have

//Send Mail All Entries
if (""!="") {
header("Location: ");
}

wich means you did not set a file to redirect after sending the email.

check this post i just made a few min ago

showthread.php?t=2911

even if you not using addt just add the file to redirect there like a thank you page or something and it will work :)

Sign in to reply to this post

Eric Mittman

Sades, thanks for your insight.

michellem310468 did this do it for you?

If you are still having problems with this post back with the code you have the die statement in and the updated redirect page. If you have this die statement in the code above the recipient you should at the very least see the message that is in the quotes, if you see nothing and have this in the right place then the Universal Email server behavior is not being triggered. Please let us know how this is going for you.

Sign in to reply to this post

michellem310468

yup - that fixed it. Thank.

Sign in to reply to this post

Eric Mittman

That is good to hear, it is nice to get some outside help from the community, you guys are great.

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