Skip to main content
Jhon Carlo
Inspiring
December 29, 2018
Answered

Set "action="mailto...." like variable

  • December 29, 2018
  • 1 reply
  • 547 views

Hi,

I know how to set this form:

<form action="mailto:MyMail@MyMail.com" method="post" .....">

but is it possible to set te value of "action "mail to......." like variable or better get the value from input type?

Thanks.

This topic has been closed for replies.
Correct answer Nancy OShea

Mailto won't work if the web device doesn't have an e-mail client like Outllook installed.  And that represents the majority of site visitors these days who use web based gmail, hotmail, etc...  If you really want people to reach you,  use a scripted contact form.   Ask your web host which scripts your server supports and if they have a form-to-email script you can use.

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
December 29, 2018

Mailto won't work if the web device doesn't have an e-mail client like Outllook installed.  And that represents the majority of site visitors these days who use web based gmail, hotmail, etc...  If you really want people to reach you,  use a scripted contact form.   Ask your web host which scripts your server supports and if they have a form-to-email script you can use.

Nancy O'Shea— Product User & Community Expert
Jhon Carlo
Inspiring
December 29, 2018

Thanks