i use this code and works, but the problem is, that the first if print a code, but execute the code of sc_mail_send, i not want, anyone explain, i want only execute print with first if.
// Send email";
if($email == ‘’){
print("Il cliente non ha una email!!!");
}
if($email != ‘’){
print(‘Email inviata’);
{
sc_mail_send($mail_smtp_server,
$mail_smtp_user,
$mail_smtp_pass,
$mail_from,
$mail_to,
$mail_subject,
$mail_message,
$mail_format);
}
}