Answer the question
In order to leave comments, you need to log in
Phpmailer and mail() not working?
Hello.
Tell me, please, what is the problem. Sending emails with regular php mail() is fine.
When using the phpMailer library, there is no sending.
include_once "class.phpmailer.php";
$mail = new PHPMailer();
$mail->IsMail();
$mail->IsHTML(false);
$mail->From = '[email protected]';
$mail->FromName = 'name';
$mail->Subject = 'test';
$mail->Body = 'phpmailer';
$mail->AddAddress('[email protected]');
echo $mail->Send();
echo 'Mailer Error: ' . $mail->ErrorInfo;
Answer the question
In order to leave comments, you need to log in
$('ul.menu a').on('click', function(e){
var goto = $(this).data('anchor');
$('html,body').stop().animate({ scrollTop: $(goto).offset().top-60 }, 1000);
e.preventDefault();
});
<ul class="menu">
<li><a href="#" data-anchor="#about">О компании</a></li>
<li><a href="#" data-anchor="#features">Услуги</a></li>
<li><a href="#" data-anchor="#calculate">Онлайн расчет</a></li>
<li><a href="#" data-anchor="#faq">Ответы на вопросы</a></li>
</ul>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question