close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email "From" blank

Thread began 4/02/2012 10:31 pm by supervisor276515 | Last modified 4/03/2012 11:14 am by Jason Byrnes | 482 views | 1 replies |

supervisor276515

Email "From" blank

Hi everything in the form works except when the email arrives the "From" field is blank.

I've tried:
$MailFrom = "".((isset($_POST["email"]))?$_POST["email"]:"") ."";

and

$MailFrom = "Website Inquiry";

in waue_contactThanks_1.php

Ideally I would like "First Name" "Last Name" to appear in the from and also the directions if I want to hard code the "From" field to something like " Web A Contact Form"

I have uploaded the files if it helps. (I had to delete the "SpryAssets" folder because the zip file exceed the file size limit.)

Thanks very much for any assistance!

Attached Files
contactFormA.zip
Sign in to reply to this post

Jason ByrnesWebAssist

to edit the universal email behavior, open the contactThanks.php page, go to the bindings panel, click the plus button and select Form Data, click the folder icon and select the Form page to add bindings from the form page.

now go to the server behaviors panel and double click the Universal Email server behavior.

In the universal Email behavior click the From button to go to the advanced from settings.


Here you can set the From Display name and the From Address.

The From address is mandatory and must be an email address, the from display name is optional. if you want to hard code the from display name, just enter it. to use the first name and last name:

Click the lightning bolt icon and select the first name form field, copy the code that is added to the from display name field. Then click the lightning bolt icon again and select the last name form field. Place the cursor at the beginning of the from display name box and past the first name code in.

For the from email address, click the lightning bolt icon and select the email address form element.

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