PDA

View Full Version : Universal Email (Coldfusion C3)


kcowan1266862
09-23-2009, 11:49 AM
Until this point, I have been able to resolve issues using this form and WebAssist's great support resources. However, this Universal Email extension is giving me a fit. Fixing one problem causes another; quite a viciouscycle. I have uploaded a copy of one of the pages that I can't seem to fix. Any advice would be appreciated.

Eric Mittman
09-23-2009, 05:25 PM
Just by taking a look at the page I can see that theres seems to be a problem with a literal value that is being used near line 213

<cfset MailTo = WAUE_getAddressString("#IIf(isDefined(")>

What is the version of UE you are using and the version of DW you are working with? When you are crafting the email message what steps are you taking? It looks as though there may be some duplicate content that has been pasted into the body of the message.

Also what is the exact error you are getting when you attempt to run the page?

kcowan1266862
09-24-2009, 08:20 AM
I am using Dreamweaver CS3, Coldfusion 8, and UE 3.0.6. I went back and traced my steps. I can run UE (do everything except the Body tab) and the form works fine; submits a blank page to both email accounts. Once I run the DWEdit function on the Body tab (even though I do not add anything), the form will not work; it will not even open. I have uploaded a Word document containing the GOOD CODE (before I run DWEdit) and the BAD CODE (after I run DWEdit). The Word document also contains a copy of the Error Screens I get when I attempt to open the page. Screen One is the first Error Message I receive.

Notice in rows 4 & 5, there is a missing quotation mark in DE(") :
ToString(IIf(isDefined("Form.studentName"),"Form.studentName",DE("))) & "|WA|" & ToString(IIf(isDefined("Form.emailAddress"),"Form.emailAddress",DE("))) & "")>
Is this something that is going to happen everytime I use the extension, or is there a fix?

I fix that and get the Screen Two message. Not seeing a problem with the code named in the Error message, I move on.

The code between the </cfsilent><cfsilent> tag is produced by running the DWEdit, but I don’t know if it is causing a problem.
</cfsilent><html><h#"ea"#d></h#"ea"#d><b#"od"#y>
</b#"od"#y></html><cfsilent>

Running DWEdit seems to remove information from the following tag:
Before:
<cfset MailTo = WAUE_getAddressString("#IIf(isDefined("Form.emailAddress"),"Form.emailAddress",DE(""))#")>
After:
<cfset MailTo = WAUE_getAddressString("#IIf(isDefined(")>

Any suggestions?

kcowan1266862
09-24-2009, 08:27 AM
Sorry about that.

Eric Mittman
09-24-2009, 05:22 PM
I'm having some trouble getting the same result as you so I have opened a ticket for you so that we can look into this issue further. Please login to WebAssist.com and visit your support history to update the ticket. Please also post back here with a copy of the page that when you do not add anything to the body tab and also include a copy of the Universal Email folder. I will do some testing and checking of your pages to try and determine what is going wrong.