I am creating two contact button for two persons in HTML and CSS. My aim is while clicking on the button user will directly send them mail using outlook platform. My code for person1 is given below:
<p><form action="mailto:[email protected]" method="post" enctype="text/plain"><button class="button1" a href="mailto:[email protected]">Contact</button></p>
It creates a contact button and while clicking on that button it shows mail id in outlook is [email protected] is perfect.
Now code for person2 is given below:
<p><form action="mailto:[email protected]" method="post" enctype="text/plain"><button class="button1" a href="mailto:mailto:[email protected]">Contact</button></p>
But here while clicking on the Contact button instead of showing "[email protected]" id it shows id for person1 which is [email protected].
I am unable to resolve this issue.