PDA

View Full Version : Receiving blank emails


deno1965
05-01-2009, 03:59 AM
I have a form and all the fields are setup dynamically already and UE is setup dynamically to send me a email when this form is filled out. It sends the email, but it is partially blank. The labels for the fields are showing, but not the inputed info. I even put a company logo at the top of the body and typed the full path URL in and its not showing or referencing the external css. Path being http://www.mysite.com/images/??.jpg. Does the image need to be a certain format? .jpg, .gif? The fields, I have no idea why they are'nt showing in the email. There is a image upload in this form too, also not working.

Dean

Ray Borduin
05-01-2009, 06:03 AM
There is no reason why it wouldn't work other than you may have configured or typed something wrong. You would need a full path to your .css to work, or it is better to include css inline for emailed content.

If it would view in a browser from a local location, then it should view from the email unless security settings are preventing the image or css from showing.

deno1965
05-02-2009, 07:18 AM
The logo was being stopped by the messenger mail. Once I hit view message it shows up. It does'nt seem to be using the css though, and my dynamic fields from the form are still blank. I have redone this several times. The form is in the email exactly as it is in the page without 1 field for a image upload. Speaking of which when I attach a file it does'nt attach and send it with the email The server sends the message but no info for the fields. Does the info from the fields need to be in a table in the database? Or can it pull it dynamically from the form itself? Another big question I have is can a ecart behavior reside on the same page as the UE. (Can they add it to cart and send me the info for the order from the filled out fields?) I put a add to cart button and UE on the same page in other words. I need the filled in fields to complete the paid for job.

Dean

deno1965
05-05-2009, 07:15 AM
I've done everything but stand on my head on this to try and figure why UE is'nt sending the form info from my dynamic fields. The bindings are all there and showing in the email body. But no information for the labels is being forwarded.

Dean

Ray Borduin
05-05-2009, 03:31 PM
Does the form action specify the page name where universal email is applied? Does it use a trigger to send the email only after that form is submitted? Have the form names been updated? Are you using the correct $_GET or $_POST syntax depending on your form method? Sorry if this seems obvious, but I figure start at the beginning with these things.

deno1965
05-06-2009, 06:52 AM
Hey Ray,

Lol, gotta be honest, you actually had me make sure that I did(ya never know!). Yes I have the post method in the form and it is action blank multipart/form-data. It is set to submit when the named ecart button is depressed. I noticed in the contact us form that it is set before page load. That form works right and sends the info. The button is supposed to do two things, send you to cart and send the proposal to the emails specified. Mananagement and the email in the form field. The rsProducts recordset is on the page for the cart submit and works fine. And it sends the email, just with the labels though. On the email body page that comes up when you go to create the email sent. What info if any Needs to be on that page, other than the dynamic info and bindings? Do I delete all the stuff at the top code wise for the recordset and what not, or does it all stay? I noticed in the video that Mark just deletes his form fields. One thing I did notice and don't know for sure if it is natural, when I go back into the preview for the email after saving and closing it, it no longer says Dynamic field behind the labels, although the bindings are on the page.

Thanks, Dean

Ray Borduin
05-06-2009, 09:19 AM
What is your server language?

deno1965
05-07-2009, 12:52 AM
Hey Ray,

I'm using PHP, the server version is 5.2.9. MySQL is 5.0.67. I don't test this locally, I test it live.

Dean

Ray Borduin
05-11-2009, 06:13 AM
Please post a support incident. Somebody will have to help you debug this because I can't seem to spot it.

deno1965
05-11-2009, 11:10 PM
Hi Ray,

Found out why the blank emails. Because I was using a Add to Cart button to send the email and add the item to cart, it refused to but the form fields in the email. Once I removed the add to cart button and made it a submit button, all fields are in the email. Can't you have the button do both? Submit the form field info and redirect to the cart to add the item? The form needs to be submitted to me, and the product attached to that form paid for. How do I accomplish that?

Dean

Ray Borduin
05-12-2009, 08:24 AM
It should work. You would just need to make sure the redirect for the add to cart appeared below the email. The add to cart button shouldn't cause a problem.

You do have to change the trigger if you use an image button instead of a submit button, but that shouldn't change the way the rest of the form works. And the add to cart code couldn't really interfere with anything either unless it was redirecting before the email was sent.

deno1965
05-12-2009, 01:53 PM
I believe from what I see happenning is that it is because the add to cart button creates its own form. It's not an actual part of the form being submitted with the info fields. That's why it will add it to cart, but not send the field info.

Ray Borduin
05-12-2009, 02:19 PM
Move the add to cart form around the entire page body and remove the other form so that there is only one form with all of the form elements you need in it.

deno1965
05-13-2009, 01:23 PM
Hey Ray,

I was right about the button not being in the form, as to why the info was'nt sent. You were right about putting the fields from the form into the Add to Cart button form. Not only was I able to fill out the form and upload a .jpg, but it sent the email complete with the attachment and redirected to the cart for payment. NO ERRORS! I hope this issue being resolved helps others, and as always, thankyou for your direction. 1 or 2 more things to fix in other categories and good to go. It was alittle manipulation, but it works beautiful.


Dean