Help with the mailto link and sending someone to another page |
Help with the mailto link and sending someone to another page |
Mike Wazowski |
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"> |
Christian J |
Dec 8 2020, 08:47 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,658 Joined: 10-August 06 Member No.: 7 |
|
pandy |
Dec 8 2020, 02:56 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 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. |
Mike Wazowski |
Dec 9 2020, 04:08 AM
Post
#4
|
Group: Members Posts: 4 Joined: 8-December 20 Member No.: 27,677 |
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 |
Lo-Fi Version | Time is now: 26th April 2024 - 02:32 PM |