[SMTPS] Unable to send email with port 465 STARTTLS option

Hi everyone,

Seeking for some advice on SMTPS settings in dreamfactory, I’m having some issue implementing SSL into mail server settings with dreamfactory

Environment

  • Dreamfactory 2.12.0 running on docker container
  • HmailServer running as proxy to external aws mail server.

SMTP Service running as below settings:

image
Error from postman:

  1. Set encrpytion as empty
    Failed to authenticate on SMTP server with username "noreply@****.com"using 1 possible authenticators
  2. Set encryption as tls
    stream_socket_enable_crypto(): SSL: Success
  3. Set encryption as ssl
    Connection could not be established with host 172.**.***.**
  4. Set encryption as tls/ssl
    Connection could not be established with host 172.**.***.** [php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

other application calling to the same hmail server had no problem sending out email, and only dreamfactory have this problem with SMTPS. I have also tested with non SSL hmail are working prefectly.

Hmail settings

  • STARTTLS (required) with ssl

Hello @foomx.

I recommend starting here- https://wiki.dreamfactory.com/DreamFactory/Tutorials/Sending_Email#Provisioning_an_Email_Service. Also as a reference, have a look here as well - https://docs.bitnami.com/bch/apps/dreamfactory/configuration/configure-smtp/

DreamFactory has released a new and improved version which I encourage you to try. Here is the link - https://bitnami.com/stack/dreamfactory

Let us know if this helps.
Thanks