It seems something has change with php/curl when using the email media types. It comes up with an error "Weird server reply" I have tested the email in thunderbird and outlook and it works fine using ssl/tsl ports 465 and 587.
Here is the error in the logs.
In send_email() smtp_server:'smtp.dynu.com' smtp_port:465 smtp_security:1 smtp_authentication:1
8188:20251219:100030.617 In handle_curl_error(): err:8
8188:20251219:100030.617 End of handle_curl_error(): error:Weird server reply
8188:20251219:100030.676 failed to send email: Weird server reply
8188:20251219:100030.676 End of send_email():FAIL
8188:20251219:100030.676 In zbx_ipc_socket_write()
8188:20251219:100030.677 End of zbx_ipc_socket_write():SUCCEED
8188:20251219:100030.677 End of alerter_process_email():FAIL
8188:20251219:100030.677 zbx_setproctitle() title:'alerter #2 [sent 0, failed 0 alerts, idle 111.494352 sec during 112.664538 sec]'
8188:20251219:100030.677 In zbx_ipc_socket_read()
Here is the error in the logs.
In send_email() smtp_server:'smtp.dynu.com' smtp_port:465 smtp_security:1 smtp_authentication:1
8188:20251219:100030.617 In handle_curl_error(): err:8
8188:20251219:100030.617 End of handle_curl_error(): error:Weird server reply
8188:20251219:100030.676 failed to send email: Weird server reply
8188:20251219:100030.676 End of send_email():FAIL
8188:20251219:100030.676 In zbx_ipc_socket_write()
8188:20251219:100030.677 End of zbx_ipc_socket_write():SUCCEED
8188:20251219:100030.677 End of alerter_process_email():FAIL
8188:20251219:100030.677 zbx_setproctitle() title:'alerter #2 [sent 0, failed 0 alerts, idle 111.494352 sec during 112.664538 sec]'
8188:20251219:100030.677 In zbx_ipc_socket_read()
Comment