close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE not sending email / two form elements newly added

Thread began 3/11/2013 4:22 am by rikaG_510 | Last modified 3/18/2013 10:52 am by Jason Byrnes | 721 views | 5 replies |

rikaG_510

UE not sending email / two form elements newly added

Hello,

This post is non-related to what I posted regarding contact form and UE yesterday.

I've added two more form elements ("ad_detail" and "del_detail" both are text field) to checkout.php for my shopping site. (All the form elements given by eCart are used up.)
Both are stored in "Orders" table in Database.

I managed to make it work, it sends data to remote database perfectly (by clicking submit button on confirm.php). But Universal Email isn't sending any email, even to a directly typed in email address. I didn't think I did anything different from last time, and spent some good hours, but cannot figure out what is wrong.

The only difference are two form elements newly added, so I'm wondering, if there's any coding I'm supposed to add to some files relating to Universal Email? It would be great if you could take a look at files.

Confirm.php and checkout_success.php has error display code, but no error appearing when tested online.

FYI, I use 123-reg hosting, and I know this isn't a problem as other forms are working fine without SMTP setting.

I attached files that you might need to take a look.

Thank you always, for your help
Rika

p.s. by the way I am using DataBridge for some while, not Universal Email, to be precise.

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page, there are 2 problems i can see:


1) The order of operations is:
Store Order Summary
Store Order Details
Send Email

but in the store order details behavior, you have it set to redirect to the success page, this redirect will happen before the the email can be sent

edit the store order details behavior, and make sure it does not redirect.

2) in the universal EMail behavior, you have the To address set to use the eCartCheckoutForm_postcode binding, this is not a valid email address. you should use the eCartCheckoutForm_email binding instead.

Sign in to reply to this post

rikaG_510

Hi Jason,

1) solved the problem.

("2)" doesn't sound right, but I applied postcode to store email address, so it's not an issue.)

Thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, so are the email working now that you have made those changes?

Sign in to reply to this post

rikaG_510

Yes!

For the confirmation page, I just fixed "1) - edit the store order details behavior not to redirect."
("2)" - left it as it was as I'd set the "postcode" to stores email address when I initially created the site.)

Also, I deleted "the mail_php.php" and "mailformatting_php.php" files, then went back to the UE server behavior to regenerate those files, which was done for my contact.php file since you suggested to do this in another thread I posted.

Contact and confirm pages are in the same site, so not really sure if I just needed the former or both to fixed the problem for confirm page.
But it is sending emails with no problem.

Again, thank you for your help!

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, Glad to hear it is working.

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