SMTP settings for email

0

Good morning.
Now I am using the standard PHP mailer in de settings for the Admin. using my gmail address. This works good for all the actions where email is necessary. But on the receiving end there is a very annoying warning from gmail that the email may be spoofed.
To get rid of this message I changed the setting to SMTP with my credentials and port 465. But now the log files tell me that smtp can not be authenticated. and the mail is not sent. Do I have to change more settings somewhere in the script to get this working?
or is there another solution to send the mails.
Thank you

Question Resolved For: Simple Forum - Responsive Bulletin Board 0 Votes 6 Answers 1.3k Views
Asked by Hans van Os 4 years ago

0

Answered by Mian Saleem

Hello,

You can use smtp with any service like mailgun, sparkpost, postmark or any other. If you using gmail, then you need to enable non-secure app to send emails. Google call password authentication as non-secure.

For testing, you can try mailtrap.io

Thank you

0

Answered by Hans van Os 4 years ago

Yes thru a smtp service it is OK. Google is just too strict.
Thank you

0

Answered by Mian Saleem 4 years ago

Hello,

Please don't forgot to update the default email address in settings.

Thank you

0

Answered by Hans van Os 4 years ago

Thank you. I realize that. Mailtrap works good with Gmail.

0

Answered by ratal viper 1 year ago

Hi someone help me how do I update my SMTP settings in which file and what fields

0

Answered by Mian Saleem 1 year ago

ratal viper Please edit the .env file for mail settings. Thank you

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.