Tell me, please, the code that, by clicking on the button, opens mail.ru to send a message to the box admin site.

    1 answer 1

    For a site, it’s <a href="mailto://адрес_админа">Написать письмо.</a> In general, ideally, it would be nice if you could describe the problem more accurately.

    • In general, I need the website to have a button that changes color when hovering, and by clicking on it, the mail server opens ready to send a message to admin@domain.ru - Kamilplus
    • one
      But you do not know if the user has an account on mail.ru. The link either opens the installed mail client, or goes to the previously opened page for sending a letter through the web interface. If you want a button, then create a button control and hang onClick events on it - to go on click and onmouseover - to change color - shiva1