close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Code comments showing in mail preview

Thread began 4/07/2010 4:31 pm by bjgarner241692 | Last modified 4/08/2010 11:48 am by bjgarner241692 | 3159 views | 11 replies

neilo

Hi Bj,

I'm not sure how the actual text entered in to your form is getting written to the waue_landing_3-1.php file. This isn't usual behaviour (in my very limited) experience.

The waue_fileneme_1.php should look the same after sending the form as it does before, apart from the form bindings, (if you haven't used a template).

So if you are not using the 'create a file for your email:' but just using the 'edit' box (and adding the values dynamically from the form's fields in the bindings panel) the MailBody variables lines should look like something this (but reflecting the form fields)


$MailBody = $MailBody . "";
$MailBody = $MailBody . ((isset($_POST["message"]))?$_POST["message"]:"");
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . ((isset($_POST["email"]))?$_POST["email"]:"");
$MailBody = $MailBody . "\r\n";
$MailBody = $MailBody . ((isset($_POST["name"]))?$_POST["name"]:"");
$MailBody = $MailBody . "";

and if you are usinng UE4 and have ticked the 'create a file for your email:' and chosen a template, the MailBody lines should still look like this:

$MailBody = $MailBody . "";
$MailBody = $MailBody . (GetFromPage("templates/Blank_1.php")); /* or what ever template you chose */
$MailBody = $MailBody . "";

I can't think of how the actual entered text from the form would show up in the waue_landing_3-1.php, unless you opened it and entered it there yourself.

Perhaps you could try a new test form using a different template, and do a test send without making any extra adjustment or formatting, to see what happens.

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