I have a php landing page with a simple button in a form area on the page for a user to contact
I'm using this:
<form method="post" action="mailto:info@<?php echo preg_replace('/^www./','',$_SERVER["HTTP_HOST"]); ?>?subject=Landing contact&body=Hi, I found your website and would like some more information, please." >
but I find that it shows an (security warning) unsecure message if clicked on..evem though a cert is in place and active
so I tried this:
<form method="post" action="mailto:info@<?php echo "{$_SERVER['SERVER_NAME']}"; ?>?subject=Landing contact&body=Hi, I found your website and would like some more information, please." >
Is threre a way to do this using the https protocol and not get that error message?
Any help would be highly appreciated