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

Contributor ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

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.

Views

284

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Dec 29, 2018 Dec 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.

Likes

Translate

Translate
Adobe Community Professional ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

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, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

LATEST

Thanks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines