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

100
Views
Intentando agregar un CC o similar a la función de correo electrónico

Actualmente, esta función envía un correo electrónico a la persona que ingresa su correo electrónico en el campo de texto y el remitente es nuestro correo electrónico de comercio electrónico API. El Para: es la persona que hizo la solicitud. Mi problema es que parece que no puedo agregar posiblemente un campo CC: para agregar también para que sepamos quién realizó la solicitud. A continuación se muestra la función, hay más que puedo proporcionar si es necesario.

 $('#emailCart').click(function(e) { e.preventDefault(); Swal.fire({ title: 'Enter Email', input: 'text', showCancelButton: true, confirmButtonText: 'Email Cart', preConfirm: (email) => { if (email.length === 0 || !emailIsValid(email)) { Swal.showValidationMessage('Please enter a valid email address.'); } } }).then((result) => { if (result.value) { $.ajax({ url: apiUrl + '/cart/email', method: 'post', headers: { 'X-CSRF-TOKEN': csrfToken }, data: { email: result.value }, success: function() { Swal.fire({ type: 'success', title: 'Success', text: 'Your cart has been emailed.', timer: 1500 }); }, error: function() { Swal.fire({ type: 'error', title: 'Oops...', text: 'Cart could not be emailed.' }) } }); } }); });
about 4 years ago · Juan Pablo Isaza
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!