Email Template Module Cofiguration

4
Hi, I am trying to configure the email template module that I’ve downloaded from the marketplace with the smtp via gmail and yahoo. While trying with gmail: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8  https://support.google.com/mail/?p=BadCredentials o6-20020a17090a3d4600b001e87bd6f6c2sm3574712pjf.50 - gsmtp While trying with yahoo: 535 5.7.0 (#AUTH005) Too many bad auth attempts.   A few similar questions were answered with a solution to enable “login from less secure apps” in Yahoo and Gmail accounts. But Gmail and Yahoo no longer supports logging in from less secure apps. So how do I test the module now?
asked
5 answers
7

Hi Mary,

I think you are using google SMTP configure setup. That won’t work because google have stopped the third party access from May 30 2022. SO try to use outlook configuration.

 

Here is Configuration for Outlook SMTP

Office 365 SMTP settings

  1. Server Address: smtp.office365.com.
  2. Username: Your Office 365 Address (e.g. example@yourdomain.com)
  3. Password: Your Office 365 Password.
  4. Port Number: 587 (With TLS)
  5. Authentication: Required.
answered
4

Hi Mary,

Yes, “But Gmail and Yahoo no longer support logging in from less secure apps” is true.

Then you can use this password for your email template settings! If you need more help, I am always here :)

Kind regards,

Halil

answered
1

Hi Mary,

 

To test locally you can check out some dummy smtp server, I personally use smtp4dev

In the email module just configure the mailserver to localhost:25 and you're ready.

answered
0

As you pointed out, those providers no longer support less secure apps.

If you need to send email, Mendix now offer a premium Email Service module in the Marketplace for an additional fee. This has its own SMTP server so you don’t need to rely on free services such as Gmail or Yahoo to send email.

https://marketplace.mendix.com/link/component/118393

Hope this helps.

answered
0

Hi Mary,

You should use app specific password from your google account. 

Firstly Go to the security of your google account. You should have 2 step verification enabled to get app specific passwords. Make sure to enable that. Then you can get and use that password in email configuration.I will attach the link below .

https://myaccount.google.com/apppasswords

That will solve this error.

 

Hope this helps: )

answered