~~~~~~~~~~~~ IMPORTANT INFORMATION -- Please read! ~~~~~~~~~~~~

1. The "search..." box above searches the Docs & Forum Posts. The "Search" tab above just searches the Forum Posts. :side:
Please use these to search for your issue *before* creating a new message topic, as your issue may have been previously solved.
2. Please put your Club # and Club Web Address in your Forum Signature (best) OR in each post to get faster support from us.
Click here to edit your signature at the bottom of the Profile Information tab.
3. Our user and admin docs are available at: support.toastmastersclubs.org/doc "There's a doc for that!" ;)
4. There is an "Opt In" Feature for newly added members. The Opt In document explains the [strike]strikethrough[/strike] member information. Click Here to View the Post
5. When posting a New Topic , please include all relevant details and be specific. When did your issue 1st occur? What operating system, browser, & browser version are you using? Did you refresh your browser cache? Are your cookies enabled? Lastly, a screen shot is often helpful.
6. Please abide by the Terms of Use . We are volunteers contributing our spare time. We are happy to assist you, so long as you are respectful and courteous.
7. We are always looking for new FreeToastHost Ambassadors to join our team and support fellow Toastmasters in their use of the FreeToastHost website system. If you are familiar with the system and have some interest, send a Send Us a Private Message.

Adding a eMail Form in Custom Web Pages

More
10 years 4 months ago - 10 years 4 months ago #48113 by SteveTheTechie
Ok, this thread gets a lot of views, but there is a good bit of incorrect information and misconceptions that have been added to it over time. So, let me see if I can clear things up a bit... (I am the FTH system developer.)

1. This approach depends on using MAILTO:, and therefore may not always work. MAILTO: requires that an email client be defined and usable on the end user's computer. An "email client" is generally an email program that is usable when you are not using the internet (like MS Outlook). Generally, webmail is not an email client unless it has an extension program (e.g., Gmail Notifier) usable when not using the internet, or a browser that can route the email request to the appropriate webmail website (e.g., Chrome). Not every user will know how to set up an email client, so using an approach that depends on it is potentially unreliable.

In the future, I will probably add an internal MAILTO handler to intercept those links and handle them via code rather than depend on users having an email client installed.

2. *Never* put <!DOCTYPE>, <html>, <head>, <body> or anything similar (the end tags) into any web page content you create for FreeToastHost. I already handle those as part of the website template, and your web page content is inserted into the template by my code, so those things are already handled for you. If you ignore this, you will cause a web page bug and potentially mangle your website.

3. To provide additional defaults for the email, you just need to extend what is in the MAILTO for the form tag. You can add &body=mybodytext to supply the body text for the email. You can also provide a cc address this way, if desired. You will have to replace spaces with the space code %20 to make everything work, though, so this may be a good bit of effort.

3. If you choose to use this MAILTO approach anyway, you will need to create a new custom page, and make it public. If you are inserting html tags as in the above, make sure you switch to Source view in the editor first.

4. My opinion? I would recommend using Google Forms for a more flexible, easier to set up approach. Google Forms can also be embedded in a FTH web page. (I have seen it.)
Last edit: 10 years 4 months ago by SteveTheTechie.
The topic has been locked.
Time to create page: 0.094 seconds