Welcome Guest, Not a member yet? Register   Sign In
I want make login function
#1

reference: kenjis page
https://zenn.dev/kenjis/articles/95f38b7e447155

I am trying to create a login function. It worked fine up to the point where I got the login screen, but I don't seem to receive the email.

You probably need to set gmail smtp, but where should I refer?

https://drive.google.com/file/d/1ZYV1DNW...p=drivesdk
Reply
#2

(04-29-2022, 06:18 AM)yoshi Wrote: reference: kenjis page
https://zenn.dev/kenjis/articles/95f38b7e447155

I am trying to create a login function. It worked fine up to the point where I got the login screen, but I don't seem to receive the email.

You probably need to set gmail smtp, but where should I refer?

https://drive.google.com/file/d/1ZYV1DNW...p=drivesdk

OnĀ App/Config/Email.php you can set up an SMTP configuration.
Reply
#3

@SubrataJ

Thank you. I have successfully sent an email.
https://www.positronx.io/codeigniter-sen...h-example/

However, it was successful because I was able to send emails by allowing "unsafe apps".
https://drive.google.com/file/d/148xOLsp...p=drivesdk

It seems that you will not be able to send emails after the end of May.
How do you tackle this problem with codeigniter4?
https://drive.google.com/file/d/1CUO2h0o...p=drivesdk
Reply
#4

(This post was last modified: 04-29-2022, 08:29 PM by ignitedcms.)

This is the state of affairs with SMTP. You'll also find out, google will silently turn unsafe apps back to safe. If you want to use it properly, there's several hoops to jump through which are by no means easy.

We use sendgrid for our primary email system, as we think it's the simplest solution.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply
#5

(04-29-2022, 08:28 PM)ignitedcms Wrote: This is the state of affairs with SMTP. You'll also find out, google will silently turn unsafe apps back to safe. If you want to use it properly, there's several hoops to jump through which are by no means easy.

We use sendgrid for our primary email system, as we think it's the simplest solution.

thanks, ignitedcms-san.

I found the countermeasure for this event.
Use Google's "Application Password".
https://devanswers.co/create-application...ord-gmail/

Substitute the password issued for the application into '$SMTPPass' and I caught send mail.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB