none
How do I get FP Extentions to send email form? RRS feed

  • Question

  • When trying to get Expression Web to set up form properties I get:

    "This form cannot be configured to sen results via email.  The site may be located at a disk-based location, or on a server that has not been configured to receive email.  Well, of course the site is on a disk based location as I create it.  The site server has the FrontPage servers turned on as I can publish to it.  How do I get this to work without using cgi script?

    Saturday, July 3, 2010 5:05 PM

Answers

  • Ignore the message - you cannot test the page locally, but publishing with HTTP (FrontPage extensions) should make the page function correctly on the server.

    Be aware that your email address will be in plain sight in code view - converting the page to use PHP or asp.NET is a good idea, since the email address can be hidden - and the form can have more functionality, such as anti-spam measures (captcha, recapctha etc.) as well.


    Ron Symonds
    Microsoft MVP (Expression Web)

    www.rxs-enterprises.org/fp
    Saturday, July 3, 2010 5:15 PM
  • Don't use a CGI script.  Use a PHP or ASP.NET form-to-email script.

    Here's a sample Form to Email using PHP .  I have many samples from basic to forms with attachments.


    --
    Chris Hanscom - Microsoft MVP
    On Facebook | On Twitter | Resource Center | Veign's Blog | Web Development Help

    Get a Complete Website Analysis by Veign
    Saturday, July 3, 2010 5:49 PM
  • "What is IIS and how do I install them and the extensions on my computer? "

    It's a server.  And, don't.  You don't need to locally test forms - just publish and test them.  Adding IIS installation and FPSEs to the mix (a) may or may not be possible, depending on your operating system and (b) is another pile of techincal stuff when you are already overfaced.

    " I expect the authoring tool, Frontpage 2003 or Expression Web to do the coding for me. "

    No.  EW never said it would program CGI, PHP, or whatever, for you.  And EW is NOT FP.  FP was targeted to a limited browser that ruled the world at the time, and it protected you from needing to know what was going on under the hood.  EW is a professional level tool, and does not protect you from needing to know what's going on under the hood.  You need to, in this day and age of multiple browsers and technologies.  It will certainly help you write HTML/XHTML and CSS, and a good deal of (but not everything) for asp.net.  But it won't write a php form for you.

    Saturday, July 3, 2010 7:06 PM
  • Is your site at your web host on a Windows server? If so, you might want to take advantage of the excellent Asp.Net 2.0 e-mail form at http://www.ctrfx.com/form/Default.aspx . It is pre-built, and (the best part) it won't cost you a dime. Follow the directions to the letter!

    I built one of these forms a couple of days ago. From start to finish, it took about 20 minutes. This time included configuring the form on the CTRFX site, copying the code to my aspx page, doing some styling, publishing to my host, and sending myself an e-mail. Easy and painless!

    As has been said, the FPSE are gone, goodbye. There are now better and more secure options avaiable. Also, The last version of IIS that supported the FPSE was version 6 (I believe). IIS 5 won't even run on Vista, Win 7 and Windows Server 2008 R2 and IIS 5 is a pain to install on XP-SP3. There's also the added learning curve. So, as has been suggested, build your form locally (as you're doing), publish it and test it.

    Chris Hanscom (Veign) can direct you to PHP resources if you do not have a Windows server and Asp.Net available to you.

    If you want to learn more about Asp.Net, please see http://www.asp.net/get-started .

    --P


    Columbia, CA. USA The Gilded Moon-Sierra Nevada Photography
    Saturday, July 3, 2010 8:34 PM
  • Your first form won't work because
    - the submit is part of the second form and not part of the 1st form
    - the name of the save file ("Registration Form") is not a valid file name
    and folder location the has write permissions (like the _private folder) on
    your server,
    should be say ("_private/Registration-Form.txt")
    - most server hosts will not send email to any address (like yahoo) that is
    not on the server @youdomainname.com

    For the form Change

    <code> <p align="left">
    &nbsp;</p>
    <form method="post" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Email-Address="ekurburski@yahoo.com"
    S-Email-Format="TEXT/PRE" S-Format="" U-File="Registration Form" -->
    <span class="style1">Name:</span> <input name="Text1" type="text" />
    <span class="style1">Phone #:<input name="Text2" type="text"> Dealer Tax
    ID
    #: <input name="Text3" type="text"><br><br><br>Address:<input
    name="Text4" type="text">
    City: <input name="Text5" type="text"> State:
    <input name="Text6" type="text"> Zip: <input name="Text7"
    type="text"></span></form>
    </font>
    <p>&nbsp;</p>
    <form method="post">
    <input name="Submit1" type="submit" value="submit"><input name="Reset1"
    type="reset" value="reset"></form>
    </code>

    to

    <form method="post" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Email-Address="ekurburski@yahoo.com"
    S-Email-Format="TEXT/PRE" S-Format=""
    U-File="_private/Registration-Form.txt" -->
    Name: <input name="Text1" type="text" />
    Phone #: <input name="Text2" type="text">
    Dealer Tax ID #: <input name="Text3" type="text"> <br><br><br>
    Address:<input name="Text4" type="text">
    City: <input name="Text5" type="text">
    State: <input name="Text6" type="text"> Zip: <input name="Text7"
    type="text">
    <input name="Submit1" type="submit" value="submit">
    <input name="Reset1" type="reset" value="reset">
    </form>


    _______________________________________
    SBR @ ENJOY (-: [Microsoft MVP - FrontPage]
    _______________________________________



    SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
    Sunday, July 4, 2010 8:29 AM

All replies

  • If you want your server to send an email based on the content of a form which is submitted to it, you will need a server side script. The question then is whether your server is windows based or linux which determines whether you need an ASP script or a PHP script. They are available and can be configured to include your form data.
    Saturday, July 3, 2010 5:10 PM
  • Ignore the message - you cannot test the page locally, but publishing with HTTP (FrontPage extensions) should make the page function correctly on the server.

    Be aware that your email address will be in plain sight in code view - converting the page to use PHP or asp.NET is a good idea, since the email address can be hidden - and the form can have more functionality, such as anti-spam measures (captcha, recapctha etc.) as well.


    Ron Symonds
    Microsoft MVP (Expression Web)

    www.rxs-enterprises.org/fp
    Saturday, July 3, 2010 5:15 PM
  • Does this mean I ignore the message?  It asks if I would like to remove the e-mail reciepiant, yes or no.  Do I just answer no and go ahead and publish the form page, test the form and see if it works, and it should? 
    Saturday, July 3, 2010 5:21 PM
  • I'll point out that using FrontPage would give you the exact same message.  The message applies because you are editing locally, on your PC (as you should).  Ignore it.  The relevant thing is to fill it out as it would work once published.

    I'll second Ron's comment that FP forms are not a good idea.  You'll be posting your email in plain text in your HTML code, and it will be scarfed up by spambots almost instantly.

    Saturday, July 3, 2010 5:24 PM
  • I appreciate the input concerning the spambots, but as I'm going through the book trying to learn the principle I have NOT been able to make forms work with a !@#@ in Frontpage2003.  This works and now I need to find a cgi script and play with it and figure out how to use it.  The book just says do it but it's beyond the scope of the book to explain.
    Saturday, July 3, 2010 5:46 PM
  • Don't use a CGI script.  Use a PHP or ASP.NET form-to-email script.

    Here's a sample Form to Email using PHP .  I have many samples from basic to forms with attachments.


    --
    Chris Hanscom - Microsoft MVP
    On Facebook | On Twitter | Resource Center | Veign's Blog | Web Development Help

    Get a Complete Website Analysis by Veign
    Saturday, July 3, 2010 5:49 PM
  • If you want to test html forms locally, you need IIS and extensions installed on your computer.
    Expression Web MVP
    Saturday, July 3, 2010 5:58 PM
  • Don't use a CGI script.  Use a PHP or ASP.NET form-to-email script.

    Here's a sample Form to Email using PHP .  I have many samples from basic to forms with attachments.


    --
    Chris Hanscom - Microsoft MVP
    On Facebook | On Twitter | Resource Center | Veign's Blog | Web Development Help

    Get a Complete Website Analysis by Veign
    Thank you, but what do I do with it?  I d/led it and I've got a bunch of files that mean nothing to me.  There are no directions on use in the folder.
    Saturday, July 3, 2010 6:24 PM
  • You need to do some reading.  I would head over to w3schools.com and read up on HTML, CSS and PHP (in that order).  Then it will all make sense.
    --
    Chris Hanscom - Microsoft MVP
    On Facebook | On Twitter | Resource Center | Veign's Blog | Web Development Help

    Get a Complete Website Analysis by Veign
    Saturday, July 3, 2010 6:28 PM
  • What is IIS and how do I install them and the extensions on my computer?  First Qustion, is do I want to or need to?  I expect the authoring tool, Frontpage 2003 or Expression Web to do the coding for me.  That's what the advertising says it does.  I can use the software as discribed but then it doesn't work all the time

    I just went through the adding a form on one test site and it worked.

     

    Did it to the site I actually want to use and it doesnt'

    <code> <p align="left">
    &nbsp;</p>
    <form method="post" action="--WEBBOT-SELF--">
        <!--webbot bot="SaveResults" S-Email-Address="ekurburski@yahoo.com" S-Email-Format="TEXT/PRE" S-Format="" U-File="Registration Form" -->
        <span class="style1">Name:</span> <input name="Text1" type="text" />
        <span class="style1">Phone #:<input name="Text2" type="text"> Dealer Tax ID
        #: <input name="Text3" type="text"><br><br><br>Address:<input name="Text4" type="text">
        City: <input name="Text5" type="text"> State:
        <input name="Text6" type="text"> Zip: <input name="Text7" type="text"></span></form>

    </font>
    <p>&nbsp;</p>
    <form method="post">
        <input name="Submit1" type="submit" value="submit"><input name="Reset1" type="reset" value="reset"></form>
    </code>

    Saturday, July 3, 2010 6:28 PM
  • Done that, been there, Have a AA in IT with concentration in programming and understand NOTHING! when no instructions are given!
    Saturday, July 3, 2010 6:40 PM
  • It's 2010. MS dropped support for FPSE in 2006. Neither Windows Server 2008 R2 nor the latest IIS has support for FPSEs.

    Why are you trying to use FPSE in this day and age? Forget all about it. Hosting companies are dropping it as they upgrade servers and OSes.

    Stick with PHP or ASP.NET.

    The software will do some of the code for you, especially with ASP.NET, but you still have to be able to read it and understand it in order to modify it and customize it. EW is not a WYSIWYG editor. It's a professional tool for creating standards-based, standards-compliant websites, and you cannot do that just with dragging stuff around in the Design Pane. You must learn HTML, CSS, and something about the server technology of your choice--PHP or ASP.NET.


    I dream of a better world...a world in which a chicken can cross the road without its motives being questioned.
    Saturday, July 3, 2010 6:46 PM
  • Concentration in programming.  Really?

    The sample is a complete sample.  You say you understand HTML, CSS and PHP and can't understand a 100% complete drop-in sample (using the most basic PHP there is).


    --
    Chris Hanscom - Microsoft MVP
    On Facebook | On Twitter | Resource Center | Veign's Blog | Web Development Help

    Get a Complete Website Analysis by Veign
    Saturday, July 3, 2010 6:49 PM
  • "What is IIS and how do I install them and the extensions on my computer? "

    It's a server.  And, don't.  You don't need to locally test forms - just publish and test them.  Adding IIS installation and FPSEs to the mix (a) may or may not be possible, depending on your operating system and (b) is another pile of techincal stuff when you are already overfaced.

    " I expect the authoring tool, Frontpage 2003 or Expression Web to do the coding for me. "

    No.  EW never said it would program CGI, PHP, or whatever, for you.  And EW is NOT FP.  FP was targeted to a limited browser that ruled the world at the time, and it protected you from needing to know what was going on under the hood.  EW is a professional level tool, and does not protect you from needing to know what's going on under the hood.  You need to, in this day and age of multiple browsers and technologies.  It will certainly help you write HTML/XHTML and CSS, and a good deal of (but not everything) for asp.net.  But it won't write a php form for you.

    Saturday, July 3, 2010 7:06 PM
  • I expect the authoring tool, Frontpage 2003 or Expression Web to do the coding for me.

    Well, if that's the case then you had better change your expectations. Saying it is so will not make it so. I won't even mention the antiquated, proprietary FrontPage beyond this point, but EW is designed to assist you in writing modern, standards compliant markup and CSS, NOT to write it for you. And it does an excellent job in that undertaking, but that doesn't relieve you of the necessity to learn HTML and CSS to do actual development.

    That's what the advertising says it does.

    Really? Where does it say that EW will write all the code for you? I've seen adverts that say that you can work visually, that roundtripping between designer and developer is made easy, and a number of other such statements, but nowhere do I recall seeing it said that you don't need to write any code yourself. Got a citation?

     


    C'mon, folks. This isn't rocket science, nor neurosurgery. It's "Expression" (singular) "Web" (singular), in that order, followed by a version numeral if you wish to be specific. It is often abbreviated "EW." It is not "Web Expression," "Expressions Web," "Web Expressions," or plain "Expression" or "Expressions." Not using the correct name indicates either ignorance or laziness. Most folks would rather avoid the appearance of either.
    Saturday, July 3, 2010 7:08 PM
  • Done that, been there, Have a AA in IT with concentration in programming and understand NOTHING! when no instructions are given!

    If that is truly the case, then you need to look into getting your tuition back, if you can. The purpose of such an education is to enable you to think independently and arrive at solutions on your own. If you need step-by-step instructions for everything that you do, your instructors failed miserably in their charge.

    BTW, just what does an "AA in IT with concentration in programming" have to do with Web development? I am an MCP in Visual Basic, but unless I am working in ASP.NET at the moment, that knowledge is of precisely zero value to me when designing and developing a Web site. Neither HTML nor CSS are programming languages, and have none of the constructs that define such languages (data types, variables, decision flow, iteration, etc.). Why would you expect such knowledge (presuming you have it) to be of value in Web development?

     


    C'mon, folks. This isn't rocket science, nor neurosurgery. It's "Expression" (singular ) "Web" (singular ), in that order, followed by a version numeral if you wish to be specific. It is often abbreviated "EW." It is not "Web Expression," "Expressions Web," "Web Expressions," or plain "Expression" or "Expressions." Not using the correct name indicates either ignorance or laziness. Most folks would rather avoid the appearance of either.
    Saturday, July 3, 2010 7:17 PM
  • Is your site at your web host on a Windows server? If so, you might want to take advantage of the excellent Asp.Net 2.0 e-mail form at http://www.ctrfx.com/form/Default.aspx . It is pre-built, and (the best part) it won't cost you a dime. Follow the directions to the letter!

    I built one of these forms a couple of days ago. From start to finish, it took about 20 minutes. This time included configuring the form on the CTRFX site, copying the code to my aspx page, doing some styling, publishing to my host, and sending myself an e-mail. Easy and painless!

    As has been said, the FPSE are gone, goodbye. There are now better and more secure options avaiable. Also, The last version of IIS that supported the FPSE was version 6 (I believe). IIS 5 won't even run on Vista, Win 7 and Windows Server 2008 R2 and IIS 5 is a pain to install on XP-SP3. There's also the added learning curve. So, as has been suggested, build your form locally (as you're doing), publish it and test it.

    Chris Hanscom (Veign) can direct you to PHP resources if you do not have a Windows server and Asp.Net available to you.

    If you want to learn more about Asp.Net, please see http://www.asp.net/get-started .

    --P


    Columbia, CA. USA The Gilded Moon-Sierra Nevada Photography
    Saturday, July 3, 2010 8:34 PM
  • Correct - do not remove the email recipient.


    Ron Symonds
    Microsoft MVP (Expression Web)

    www.rxs-enterprises.org/fp
    Sunday, July 4, 2010 8:06 AM
  • Your first form won't work because
    - the submit is part of the second form and not part of the 1st form
    - the name of the save file ("Registration Form") is not a valid file name
    and folder location the has write permissions (like the _private folder) on
    your server,
    should be say ("_private/Registration-Form.txt")
    - most server hosts will not send email to any address (like yahoo) that is
    not on the server @youdomainname.com

    For the form Change

    <code> <p align="left">
    &nbsp;</p>
    <form method="post" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Email-Address="ekurburski@yahoo.com"
    S-Email-Format="TEXT/PRE" S-Format="" U-File="Registration Form" -->
    <span class="style1">Name:</span> <input name="Text1" type="text" />
    <span class="style1">Phone #:<input name="Text2" type="text"> Dealer Tax
    ID
    #: <input name="Text3" type="text"><br><br><br>Address:<input
    name="Text4" type="text">
    City: <input name="Text5" type="text"> State:
    <input name="Text6" type="text"> Zip: <input name="Text7"
    type="text"></span></form>
    </font>
    <p>&nbsp;</p>
    <form method="post">
    <input name="Submit1" type="submit" value="submit"><input name="Reset1"
    type="reset" value="reset"></form>
    </code>

    to

    <form method="post" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Email-Address="ekurburski@yahoo.com"
    S-Email-Format="TEXT/PRE" S-Format=""
    U-File="_private/Registration-Form.txt" -->
    Name: <input name="Text1" type="text" />
    Phone #: <input name="Text2" type="text">
    Dealer Tax ID #: <input name="Text3" type="text"> <br><br><br>
    Address:<input name="Text4" type="text">
    City: <input name="Text5" type="text">
    State: <input name="Text6" type="text"> Zip: <input name="Text7"
    type="text">
    <input name="Submit1" type="submit" value="submit">
    <input name="Reset1" type="reset" value="reset">
    </form>


    _______________________________________
    SBR @ ENJOY (-: [Microsoft MVP - FrontPage]
    _______________________________________



    SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
    Sunday, July 4, 2010 8:29 AM