require_once(JPATH_SITE.'/libraries/phpmailer/phpmailer.php');
$mail = new PHPMailer;
$sender = array($call_email, JText::_('modcallback_title'));
$mail->isSMTP();
$mail->SMTPDebug = 0;
$mail->Host = 'ssl://smtp.yandex.ru';
$mail->Port = 465;
$mail->SMTPSecure = 'SSL';
$mail->SMTPAuth = true;
$mail->Username = $call_email;
$mail->Password = "";// Пароль
$mail->setFrom($sender);
$mail->addReplyTo($sender);
$mail->addAddress($sender);
$mail->Subject = 'subjec't;
$mail->Body = 'Body';
return $mail->send();