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:abc@google.com" method="post" enctype="text/plain"><button class="button1" a href="mailto:abc@google.com">Contact</button></p>
It creates a contact button and while clicking on that button it shows mail id in outlook is abc@google.com.This is perfect.
Now code for person2 is given below:
<p><form action="mailto:xyz@google.com" method="post" enctype="text/plain"><button class="button1" a href="mailto:mailto:xyz@google.com">Contact</button></p>
But here while clicking on the Contact button instead of showing "xyz@google.com" id it shows id for person1 which is abc@google.com.
I am unable to resolve this issue.