![]() ![]() When I am trying to access the idk.php file, I am getting http error 500. I am not sure, but maybe this is the reason, why I am getting those errors. $mailer->SMTPSecure = \PHPMailer\PHPMailer\PHPMailer::ENCRYPTION_STARTTLS If someone needs additinal information, just let me know.ĮDIT: Here is my idk.php file (the code snippet didn't worked fine, but I think you can read it): SMTPDebug = \PHPMailer\PHPMailer\SMTP::DEBUG_SERVER tento řádek povoluje client -> server a server -> client zprávy I am using the newest PHPMailer, and I didnt edited anything, so you can see the code on PHPMailer github. The weird thing is that it is working on xampp fine, but not on my page. Thrown in web/test/vendor/phpmailer/phpmailer/src/PHPMailer.php on line 2089`ĭoes anybody know, how to fix this? I am pretty sure my log in credentials are OK. #3 web/test/idk.php(31): PHPMailer\PHPMailer\PHPMailer->send() ![]() #2 web/test/vendor/phpmailer/phpmailer/src/PHPMailer.php(1447): PHPMailer\PHPMailer\PHPMailer->postSend() #1 web/test/vendor/phpmailer/phpmailer/src/PHPMailer.php(1614): PHPMailer\PHPMailer\PHPMailer->smtpSend() #0 web/test/vendor/phpmailer/phpmailer/src/PHPMailer.php(1900): PHPMailer\PHPMailer\PHPMailer->smtpConnect() in /web/test/vendor/phpmailer/phpmailer/src/PHPMailer.php:2089 PHP Fatal error: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not authenticate. In my log file, I am still getting this error: But when I uploaded whole phpMailer on my page, some issues appeared. I was testing it with xampp server and everything worked fine. I saw many similar questions, like my, but never the one, which helps me. ![]()
0 Comments
Leave a Reply. |