I'd like to open an email automatically with To & subject, when the html page loads. I need to use only mailto functionality. Can someone help me how to do this?
Redirect the user to a mailto
link. This can be done with basic JavaScript:
location.href = "mailto:[email protected]?subject=Test+Message";
Just take into consideration the fact that:
Just be careful.