You need to tell Mailer.js about your API key
What exactly stops me from stealing someone else's API key and using it to send spam? You can't trust the client.
What exactly stops me from stealing someone else's API key and using it to send spam? You can't trust the client.
MailerJS will send mail to the address you enter on your account page. You can't specify the receiver dynamically, as client-side JavaScript is publicly accessible by definition, and we want to protect you from spammers.
Why steal someone's api key just so you can send them email?
Anyone can fake HTTP Referer info, and if they're going to the trouble of stealing an API key then they're not just a passing bot.