How to use it [without templates] - diogomartino/SAMPMailJS GitHub Wiki
HOW TO USE IT [WITHOUT TEMPLATES]
It's really simple, since you only have a function to use. HTML is fully supported.
SendEmail(name[], to[], subject[], text[])
EXAMPLE
SendEmail("It's me", "**********@gmail.com", "This is a subject test", "Hello! This is a test from SAMPMailJS. This is the email body!");
The email recieved: