Jak konfigurovat php.ini Soubor pro odesílání e-mailů pomocí Gmailu

Příklady kódu

0
0

N

Before sending emails using the Gmails SMTP Server, you to make some of the
  security and permission level settings under your Google Account Security
  Settings.

1. Make sure that 2-Step-Verification is disabled.

2. Turn ON the "Less Secure App" access or click here.

3. If 2-step-verification is enabled, then you will have to create app
  password for your application or device.

4. For security measures, Google may require you to complete this additional
    step while signing-in. Click here to allow access to your Google account
      using the new device/app.

Note*: It may take an hour or more to reflect any security changes
===================================================================
PHP CODE CONFIG :=
  
$mail->SMTPDebug  = 1;  
$mail->SMTPAuth   = TRUE;
$mail->SMTPSecure = "tls";
$mail->Port       = 587;
$mail->Host       = "smtp.gmail.com";
$mail->Username   = "[email protected]";
$mail->Password   = "your-gmail-password";

=================================================================

For More Info check this link : https://pepipost.com/tutorials/send-an-email-via-gmail-smtp-server-using-php/

V jiných jazycích

Tato stránka je v jiných jazycích

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................