Skip to content

SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed #4901

@dtrupti22

Description

@dtrupti22

I am trying to send mail with ssl enable using below code and getting
SSL Exception: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed error

	SecureSMTPClientSession session(mailhost, port);
	session.login();
	session.startTLS();
	if (!username.empty())
	{
		session.login(SMTPClientSession::AUTH_LOGIN, username, password);
	}
	session.sendMessage(message);
	session.close();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions