Email - Gmail SMTP Server/Local SMTP

Hi All,

I was looking at the email functionality and have a few questions, forgive my ignorance on this topic.

  1. Can i use Gmail SMTP server to send emails out - Google expects a SSL/TLS connection is this supported in CUBA.
    https://support.google.com/mail/answer/13287?hl=en

  2. If the above is not supported, i guess i will have to install a local mail server/SMTP server, am i right or des CUBA have its own inbuilt SMTP server.

  3. If there is no inbuilt SMTP server, then do you suggest any SMTP servers that you have tried along with CUBA?

As always, thanks for your time.

Regards,
Chen

1 Like

Hey, I’m using the email functionality and it works great. In the order to use it, you would need to refer to the documentation in the section 4.7.3.3 (Configuring Email Sending Parameters).
There you will see the various parameters including:

  • cuba.email.smtpStarttlsEnable
  • cuba.email.smtpHost
    etc…
    you can set those parameters either in your local.app or in the database.

By the way, in Cuba 6.1 an “Administration > Application properties” screen appeared. It allows you to view and edit values of application properties stored in the database.