Hello!
I am trying to connect my locally hosted Espo to a local smtp relay server. Here are my smtp settings.
When I try sending a test email, i find this error in my logs:
[2025-08-19 14:22:58] ERROR: (0) Email sending error: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed :: D:\project_management_tools\espocrm\vendor\symfony \mailer\Transport\Smtp\Stream\SocketStream.php(171 )
[2025-08-19 14:22:58] WARNING: Email sending:unknownError; 0
I can establish a connection with the smtp address as shown here:
I've tried adding configurations to the config file shown below as suggested by AI, but I get the same error everytime.
My co-worker has told me that they have used this same set up for other applications and it all works perfectly for them. Maybe it's because they are able to set TLS and SSL to false and directly from the UI of their apps?
Does anyone know how I can fix this? Please let me know if you need more information from me.
Thank you
I am trying to connect my locally hosted Espo to a local smtp relay server. Here are my smtp settings.
When I try sending a test email, i find this error in my logs:
[2025-08-19 14:22:58] ERROR: (0) Email sending error: Unable to connect with STARTTLS: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed :: D:\project_management_tools\espocrm\vendor\symfony \mailer\Transport\Smtp\Stream\SocketStream.php(171 )
[2025-08-19 14:22:58] WARNING: Email sending:unknownError; 0
I can establish a connection with the smtp address as shown here:
I've tried adding configurations to the config file shown below as suggested by AI, but I get the same error everytime.
My co-worker has told me that they have used this same set up for other applications and it all works perfectly for them. Maybe it's because they are able to set TLS and SSL to false and directly from the UI of their apps?
Does anyone know how I can fix this? Please let me know if you need more information from me.
Thank you
Comment