I've created a simple contact form with inputs like name, phone number.. And a file import (in order to add an attachment to the mail).
All the informations are shown in the mail except the imported file.
How to make it works please ??
a{
text-decoration:none;
display:inline-block;
background-color: rgb(255,194,0);
padding:10px;
color:#FFF;
width:50px;
text-align:center;
cursor:pointer;
}
a:hover{
opacity:0.5;
}
<label>
add a file :
</label>
<input class="btn_import" type ="file"/>
<a href="mailto:http://mywebsite.com?subject=just to see the attachment file&attachment="the file here"">send</a>