0 ){ //Ya existe ese trabajo $submit_error = 3; } else{ $cadena= "insert into submission (ID, Title, Lastname, Firstname, Presentation, Abstract, email, session1, session2, session3, session4, session5, session6, session7, session8, session9, session10, session11, Authors, Date) values ( NULL, '".$title."', '".$lastname."', '".$firstname."', '".$presentation."', '".$abstract."', '".$email."', '".$session1."','".$session2."','".$session3."','".$session4."','".$session5."','".$session6."','".$session7."','".$session8."', '".$session9."','".$session10."','".$session11."', '".$authorlist."', NULL )"; if (!mysqli_query($enlace, $cadena)) { $submit_error = 1; } } mysqli_close($enlace); if(!$submit_error){ //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ // //envio del mail // //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ require('class.phpmailer.php'); require('class.smtp.php'); $mail = new PHPMailer(); $mail->SetLanguage('es', './language/'); $mail->Mailer = "smtp"; $mail->IsSMTP(); echo "Probando mail....
"; //Le indicamos que el servidor smtp requiere autenticación $mail->SMTPAuth = true; $mail->Host = "smtp.iaa.csic.es"; $mail->Port = 587; $mail->SMTPSecure="STARTTLS"; //Le decimos cual es nuestro nombre de usuario y password $mail->Username = "solo17"; $mail->Password = "ju4727eZ"; $mail->From = "solo17@iaa.es"; $mail->FromName = "7th Solar Orbiter Workshop"; $mail->Subject = "Your abstract submission"; $mail->AddAddress($email); $mail->AddReplyTo("solo17@iaa.es"); $mail->IsHTML(true); //presentation 1: Oral, 2 : Poster, 3: Invitated if($presentation == 1){ //Oral $body = "Dear ".$firstname." ".$lastname.",
"; $body .= "
Thank you for submitting your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop. In the second half of January, 2017 the SOC will inform you whether your contribution is accepted as an oral or a poster communication.
"; $body .= "
Please do not hesitate in contact us at solo17@iaa.es, if you have any question.
"; $body .= "
We look forward to seeing you in Granada,

The SOC, 7th Solar Orbiter Workshop"; $altbody = "Dear ".$firstname." ".$lastname.",\n"; $altbody .= "\nThank you for submitting your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop. In the second half of January, 2017 the SOC will inform you whether your contribution is accepted as an oral or a poster communication.\n\n"; $altbody .= "Please do not hesitate in contact us at solo17@iaa.es, if you have any question.\n\n"; $altbody .= "We look forward to seeing you in Granada,\n\nThe SOC, 7th Solar Orbiter Workshop"; } else if($presentation ==2){ //Poster $body = "Dear ".$firstname." ".$lastname.",

"; $body .= "Thank you for submitting your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop. Your poster will be displayed during the whole week of the meeting. Remember that the maximum allowed dimensions are 0.95 x 1.95 m^2.

"; $body .= "Please do not hesitate in contact us at solo17@iaa.es, if you have any question.

"; $body .= "We look forward to seeing you in Granada,

The SOC, 7th Solar Orbiter Workshop"; $altbody = "Dear ".$firstname." ".$lastname.",\n\n"; $altbody .= "Thank you for submitting your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop. Your poster will be displayed during the whole week of the meeting. Remember that the maximum allowed dimensions are 0.95 x 1.95 m^2.\n\n"; $altbody .= "Please do not hesitate in contact us at solo17@iaa.es, if you have any question.\n\n"; $altbody .= "We look forward to seeing you in Granada,\n\nThe SOC, 7th Solar Orbiter Workshop"; } else{ //$presentation == 3 //Invited $body = "Dear ".$firstname." ".$lastname.",

"; $body .= "Thank you for sending your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop.

"; $body .= "Please do not hesitate in contact us at solo17@iaa.es, if you have any question.

"; $body .= "We look forward to seeing you in Granada,

The SOC, 7th Solar Orbiter Workshop"; $altbody = "Dear ".$firstname." ".$lastname.",\n\n"; $altbody .= "Thank you for sending your abstract entitled \"".$title."\" to the 7th Solar Orbiter Workshop.\n\n"; $altbody .= "Please do not hesitate in contact us at solo17@iaa.es, if you have any question.\n\n"; $altbody .= "We look forward to seeing you in Granada,\n\nThe SOC, 7th Solar Orbiter Workshop"; } $mail->Body = $body; $mail->AltBody = $altbody; $exito=$mail->Send(); if(!$exito) { $submit_error = 2; } else{ $send_successful = 1; } } //end if(!$field_error) } //end if(!$submit_error) } //end if ?>

Abstract submission

Sorry, the submission system is closed.