Jump to content

labbinat

Members
  • Posts

    20
  • Joined

Posts posted by labbinat

  1. تم حل المشكلة، شكرا لك. هنا كان الخطأ
          $mail->SMTPSecure = 'tls';
               $البريد->المنفذ = 587;
            
             $mail->CharSet = 'UTF-8';
    تبقى مشكلة أخيرة وهي أنه في قسم SEO لا أستطيع إدخال كلمات باللغة العربية للبحث
    يقبل الكلمات الإنجليزية فقط

    لقطة الشاشة 2023-11-10 014403.png

  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.    $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';

  5. 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

     

  6. 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"

  7. 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

  8. 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.

    لقطة الشاشة 2023-11-02 090729.png

    لقطة الشاشة 2023-11-02 090823.png

    لقطة الشاشة 2023-11-02 090852.png

    لقطة الشاشة 2023-11-02 090915.png

  9. 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...