Question: SMTP settings for email

SMTP settings for email

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

HO

Hans van Os

Asked

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

  • MS

    Mian Saleem

    Answered

    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

  • HO

    Hans van Os

    Answered

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

  • MS

    Mian Saleem

    Answered

    Hello,

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

    Thank you

  • HO

    Hans van Os

    Answered

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

  • RV

    ratal viper

    Answered

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

  • MS

    Mian Saleem

    Answered

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

  • Login to Reply