• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    Go to solution

    How do I make a email link

    How do I make a email link so site visitors can click it and it opens up a email to be composed  to me

    I wish to make a link on my website that, when clicked, creates an email message to a certain address

     

    Thank You

    Scott

    1 ACCEPTED SOLUTION
    Super User I

    @scottbaz

     

    Here's the code:

    <a href="mailto:you@yoursite.com?subject=Mail from Our Site">Email Us</a>

    But.... That link will get farmed by spam bots that look for email mailto code to scrape the email address within and your spam will increase.  It is always better to use a form.

     

    HTH! 😉

    Judith
    "Broken crayons still color." Anon

    View solution in original post

    1 REPLY 1
    Super User I

    @scottbaz

     

    Here's the code:

    <a href="mailto:you@yoursite.com?subject=Mail from Our Site">Email Us</a>

    But.... That link will get farmed by spam bots that look for email mailto code to scrape the email address within and your spam will increase.  It is always better to use a form.

     

    HTH! 😉

    Judith
    "Broken crayons still color." Anon

    View solution in original post