Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Options to select specific certicate/key-pairs (TLS authentication) #152

Open
odkr opened this issue Nov 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@odkr
Copy link

odkr commented Nov 29, 2023

Describe your desired feature

Would you consider adding an option to use a specific TLS certificate/key pair?

We use a dedicated mail exchanger for mail that is sent by applications rathar than people. That server uses TLS authentication, because it's easier to generate a certificate for each of our machines than to manage per-machine/per-application mail accounts and TLS authentication can be used with other services (syslog, monitoring, etc.), too.

It would be simple to implement. The option would take the name of a PEM file and pass on that filename to PHPMailer\SMTP::connect using the "local_cert" SSL option.

Thanks for considering!

@odkr odkr added the enhancement New feature or request label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant