The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help with the mailto link and sending someone to another page
Mike Wazowski
post Dec 8 2020, 06:48 AM
Post #1





Group: Members
Posts: 4
Joined: 8-December 20
Member No.: 27,677



Hello! I am trying to figure out for a form link, how to send an email but also redirect someone to another page

Here is my code

What do I do?
CODE
<form action="MAILTO:nnn@example.com?subject=Order from Guy" method="POST">

excl.gif excl.gif excl.gif excl.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Dec 8 2020, 08:47 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



See https://htmlhelp.com/faq/html/forms.html#mailto-form
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 8 2020, 02:56 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



To elaborate, normally a script on the server is used (doesn't need to be "CGI" as it says in the FAQ). That script can both send you the email and redirect the user to a thankyou page. With mailto you don't have that option.

Mailto is even more unreliable today when many people use web mail exclusively. It only works if there is an email client installed and if the browser is configured to open said email client. There will also be problems if the user uses a computer at some public place like a school or a library or a friend's computer. In the latter case there may be a an email client that reacts, but it hardly has an account for the friend.

I edited the email address in you post to save you from spam. The bots will pick the address up from here.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Mike Wazowski
post Dec 9 2020, 04:08 AM
Post #4





Group: Members
Posts: 4
Joined: 8-December 20
Member No.: 27,677



QUOTE(pandy @ Dec 8 2020, 07:56 PM) *

To elaborate, normally a script on the server is used (doesn't need to be "CGI" as it says in the FAQ). That script can both send you the email and redirect the user to a thankyou page. With mailto you don't have that option.

Mailto is even more unreliable today when many people use web mail exclusively. It only works if there is an email client installed and if the browser is configured to open said email client. There will also be problems if the user uses a computer at some public place like a school or a library or a friend's computer. In the latter case there may be a an email client that reacts, but it hardly has an account for the friend.

I edited the email address in you post to save you from spam. The bots will pick the address up from here.

Ok Thank you and also thank you for changing my email I didn't even think that I was doing that wacko.gif biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 01:13 AM