[QUOTE=aducom;17191]What exactly is the problem? Is it not possible to send a second email or don’t you know how to get the fields of the form in the email text? THe latest issue is a simple one. Depending on your form you need to add some code to an event. I.e. onafterinsert, onclick etc. Then you form your text using the fieldvariables like:
$mytext='hello '.{mynamefield} etc.[/QUOTE]
Exactly y have this code but I don?t know how to send the email with the same fields of the form, this is my code
/**
- Avisa que se inscribio un competidor
*/
// Email parameters
$mail_smtp_server = ‘mail.mediomaratonnocturno7barrios.com’; // SMTP server name or IP address
$mail_smtp_user = ‘alertas@mediomaratonnocturno7barrios.com’; // SMTP user name
$mail_smtp_pass = ‘alertas’; // SMTP password
$mail_from = ‘alertas@mediomaratonnocturno7barrios’; // From email
$mail_to = ‘ecazares@quickad.com.mx’; // To email
$mail_subject = ‘Se inscribio un competidor’; // Message subject
$mail_message = ‘Se ha inscrito un competidor al evento - QuickadSoft’; // Message body
$mail_format = ‘T’; // Message format: (T)ext or (H)tml
$mail_port = ‘26’; // Puerto Servermail con aut //
// Send email
sc_mail_send($mail_smtp_server,
$mail_smtp_user,
$mail_smtp_pass,
$mail_from,
$mail_to,
$mail_subject,
$mail_message,
$mail_port,
$mail_format);
/**
- Avisa que se inscribio un competidor
*/
How can add code to send the fields?
Thanks in advance
Eduardo Cazares