Your client wants an easy way for website visitors to contact them via email, with the subject and body pre-filled. How would you implement this using mailto: links?

  • Use a form with POST method to send emails. 
  • mailto:client@email.com#subject=Hello&body=Message 
  • mailto:client@email.com/subject=Hello/body=Message 
  • mailto:client@email.com?subject=Hello&body=Message 
The mailto: scheme can be extended with parameters to pre-fill the subject line, body, and even CC or BCC fields in an email. The format is: mailto:[recipient]?subject=[subject]&body=[body]. This creates a seamless experience for the user, allowing them to simply click the link to open their email client with a pre-populated message. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *