Smtp Setup For Gmail

0

I would like to know in which file I can setup my email settings so I can send email to users like while inviting etc. Suppose I am using Gmail.

Please mention which fields in file i need to change and add there taking Gmail as example.

@Mian Saleem

Question Resolved For: Simple Forum - Responsive Bulletin Board 0 Votes 12 Answers 1.4k Views
Asked by ratal viper 1 year ago

0

Answered by Mian Saleem 1 year ago

Hello,

Please avoid duplications. You can update mail config in .env file.

Thank you

0

Answered by ratal viper 1 year ago

Please tell me path (there is an .env.example file in root folder) and what fields i need to change. I tried but didn't receive email.

@Mian Saleem

0

Answered by ratal viper 1 year ago

@Mian Saleem waiting for the response.

Thankyou

0

Answered by Mian Saleem 1 year ago

Hello,

Please use port 587 for tls and the password should be app password, you account password won't work. Others look fine.

Thank you

0

Answered by ratal viper 1 year ago

I have updated port to 587 and i had kept email account password and app password are same .

I sent an invite again but didn't receive the email.

@Mian Saleem

0

Answered by Mian Saleem 1 year ago

Hello,

Please check if there is any error in Laravel logs storage/logs/

Please check the sent folder on gmail. If you want to test the email, you can try mailtrap.io

Thank you

0

Answered by ratal viper 1 year ago

Ok seems I had to click this dns setting record verify, so they are saying to wait for propagation time which is usually 24 hours. I think after that it should be working and emails will not get rejected.

Let's wait & check.

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.