Jump to content

[Solved] Character encoding


labbinat

Recommended Posts

  • Krydos changed the title to Character encoding
  • Replies 33
  • Created
  • Last Reply

Top Posters In This Topic

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;

 

 

Link to comment
Share on other sites

On 11/7/2023 at 11:51 AM, Krydos said:

Since you're trying to connect to Gmail you have to use xoauth as they recently disabled simple password authentication. Check out https://github.com/PHPMailer/PHPMailer/blob/master/examples/gmail_xoauth.phps

You still can't use password authentication to send emails through Gmail. You have to use xoauth to send through Gmail, or use some other service other than Gmail to use password authentication.

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

  • Krydos locked this topic
Guest
This topic is now closed to further replies.

×
×
  • Create New...