Less Secure App

1 reply · opened Jul 28, 2020

LLuiz Augusto Correia de AraujoJul 28, 2020

Hi,

The Canvas documentation fie says:


Using Gmail SMTP
Use the following SMTP code for sending Emails through your Gmail Account:


$mail->isSMTP();

$mail->SMTPDebug = 0;

$mail->Host = ‘smtp.gmail.com’;

$mail->Port = 587;

$mail->SMTPSecure = ‘tls’;

$mail->SMTPAuth = true;

$mail->Username = “username@gmail.com”;

$mail->Password = “password”;

Note: You will need to Turn On Less Secure App Access in your Google Account to be able to use Gmail SMTP. Go to your Google Account > Security > Less Seure App Access > Turn On


When I try to set up this on Gmail I received this message:

"Some apps and devices use less secure sign-in technology, which makes your account vulnerable. You can turn off access for these apps, which we recommend, or turn it on if you want to use them despite the risks. Google will automatically turn this setting OFF if it’s not being used.".

There is another way to configure the Gmail SMTP without leaving my account vulnerable?

Regards,

Luiz

SSemicolon WebSTAFFJul 29, 2020

Hello,

Unfortunately, there is no other way. You will need to Enable that Option in order to use the Gmail SMTP.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard