Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
How can I send an email with javascript without using mailto or php?

        <label>Nombre</label>
        <input type="text" name="nombre"/>
        <label>Apellido</label>
        <input type="text" name="apellido"/>
        <label>Celular</label>
        <input type="text" name="celular"/>
        <label>Correo</label>
        <input  type="text" name="correo"/>
        <label>Mensaje</label>
        <textarea row="2" name="mensaje" ></textarea>
        <button type="button" onclick="">Enviar</button>
 

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Simple-Mailer has it's own repository now and has different functions and APIs now (simplemailer.loca.lt)

Free signup, unlimited emails and custom functions.

Just sign up, get your API key and embed it like this:

<script src="https://simplemailer.loca.lt/js/YOUR_API_KEY/mailer.js"></script>

Here's a new working example:

  let isSent = false;
  function send() {
    if (!isSent) {
      const value = document.querySelector("[name=email]").value;
      email(value, "My name", "This is a test subject", "You can put plaintext or <b>HTML</b> here").then(function() {
        isSent = true;
        alert("Sent to: " + value);
      }).catch(err => alert(err));
    } else {
      alert("Spam alert!");
    }
  }
<script src="https://simplemailer.loca.lt/js/S7w12OjlEOz6WprNHiO3KvwGhfLJ7OZP9e4Klh3d63cV6EldSlYtAATAzRhe6Upl2/mailer.js"></script>

<input type="email" name="email" value="test@example.com" />
<input type="button" value="Submit" onclick="send()" />

It's much better than EmailJS, because you can make your own custom function name, it's much simpler and it's completely free!

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!