Highlighted

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

Contributor ,
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.

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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.

TOPICS
Learn Dreamweaver

Views

238

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

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

Contributor ,
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.

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

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.

TOPICS
Learn Dreamweaver

Views

239

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
Dec 29, 2018 0
Adobe Community Professional ,
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, ACP
Alt-Web Design & Publishing

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
Reply
Loading...
Dec 29, 2018 1
Contributor ,
Dec 29, 2018

Copy link to clipboard

Copied

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
Reply
Loading...
Dec 29, 2018 0