Jump to content

labbinat

Members
  • Posts

    20
  • Joined

Everything posted by labbinat

  1. تم حل المشكلة، شكرا لك. هنا كان الخطأ $mail->SMTPSecure = 'tls'; $البريد->المنفذ = 587; $mail->CharSet = 'UTF-8'; تبقى مشكلة أخيرة وهي أنه في قسم SEO لا أستطيع إدخال كلمات باللغة العربية للبحث يقبل الكلمات الإنجليزية فقط
  2. in " process_registration.php " $mail = new PHPMailer(); $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = 'remove'; $mail->Password = 'remove'; $mail->SMTPSecure = 'ssl'; $mail->Port = 465;
  3. I apologize for returning again, but the application tells me that the message has been sent to the user's email, and there are no messages sent and no messages are received by the user. I searched for the reason and this was the response. “Verify that firewalls and security software on the server or device where the code is hosted are not blocking the sending process. Some security or firewalls may be blocking access to mail servers.”
  4. Okay, thank you for your help. You do not know how grateful I am to you
  5. I searched on the internet and they told me that the problem is in the firewall and certificate ssl
  6. Sorry, I did not understand, but all the information is compatible with the main version and the error is still the same
  7. $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->اسم المستخدم = '<removed>'; $mail->Password = '<removed>'; $mail->SMTPSecure = 'ssl'; $البريد->المنفذ = 465; $mail->setFrom('<removed>', 'LABBINAT'); $mail->addAddress($email); $mail->isHTML(true); $mail->CharSet = 'UTF-8';
  8. This error appears فشل في إرسال البريد الإلكتروني: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused The strange thing is that the page and email sending were working previously. I don’t know why these errors appeared
  9. I downloaded the package to the project folder and it was working previously and this is the code that fetches it use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'PHPMailer/src/PHPMailer.php'; require 'PHPMailer/src/SMTP.php'; But now I am getting this error "Fatal error: Uncaught Error: Class "PHPMailer\PHPMailer\Exception" not found in /home/labbinat.com/httpdocs/PHPMailer/src/PHPMailer.php:2233 Stack trace: #0 /home/labbinat.com/httpdocs/PHPMailer/src/PHPMailer.php(2019): PHPMailer\PHPMailer\PHPMailer->smtpConnect() #1 /home/labbinat.com/httpdocs/PHPMailer/src/PHPMailer.php(1678): PHPMailer\PHPMailer\PHPMailer->smtpSend() #2 /home/labbinat.com/httpdocs/PHPMailer/src/PHPMailer.php(1516): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/labbinat.com/httpdocs/process_registration.php(139): PHPMailer\PHPMailer\PHPMailer->send() #4 {main} thrown in /home/labbinat.com/httpdocs/PHPMailer/src/PHPMailer.php on line 2233"
  10. Yes indeed, this line was missing and the problem was solved. Thank you from the bottom of my heart for your help There's only one problem left phpmailer
  11. Honestly, I don't know why. If you look at the previous images, you will find that only Arabic texts received from the database appear in this form: "??????????" Maybe because the server is in Latin I tested my Sabva website and hosted it on two hosting sites and did not suffer from any problems I liked dealing with you, so I am trying to solve the problem Please help me find out why
  12. The problems I face are encoding the Arabic language for the data coming from the database and installing the PHPMAILER package to send and receive emails
  13. I have a question, please. Does subscribing to VPS solve all problems?
  14. نعم . الرجاء مساعدتي في حل المشاكل في أسرع وقت ممكن Translation: Yes . Please help me solve the problems as quickly as possible
  15. Hello, I have several problems with the account, the first of which is the encoding of Arabic letters, and even in the section that appears in the search results, I cannot add Arabic words. The second is a problem with "phpmailer" asking me to install packages and other problems. Note that the files were working well before. What is the solution to that? I do not know where the reply button is because of my poor English. If my message is wrong, please help me find the appropriate place to reply.
  16. I want to keep this account, but please help me solve my problem
  17. Can you explain more what you mean by misuse? And how can this be addressed?
  18. Arabic texts coming from the database appear as symbols even though the database characters and the characters of the tables and pages are set utf8
  19. Well, what is the solution to display the data received from the database correctly?
  20. Hello, I have a problem that Arabic texts coming from the database on my site appear as symbols, despite the database’s character encoding being set in Arabic and the pages and tables being encoded, but it appears that the server localhost:3306(MariaDB) is using Latin encoding. How can I correct this?
×
×
  • Create New...