Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

179
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda