Skip to content

Added client-tls-smtp-overssl.c and client-tls-smtp-starttls.c #482

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions tls-options/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,25 @@ Example:
-a <Peer auth mode> -m <Verify mode>
```

#### Use SMTP client

You can use SMTP OVER TLS or STARTTLS client.

- SMTP OVER TLS - [RFC 8314](https://datatracker.ietf.org/doc/html/rfc8314)

- STARTTLS - [RFC 3207](https://datatracker.ietf.org/doc/html/rfc3207)

Example:
```sh
./client-smtp-starttls <SERVER_NAME> <CERT_FILE_PATH>
```

```sh
./client-smtp-over-tls <SERVER_NAME> <CERT_FILE_PATH>
```

When using Gmail SMTP server (```smtp.gmail.com```), you need to configure an app password in your Google account settings.

## Cleaning Up

You can remove executable files by doing:
Expand Down
Loading