kuda.ai

Thoughts on programming and music theory.

dark mode

SMTP Session With openssl

Created on August 15, 2025

linux/networking

openssl s_client \
-connect smtp-relay.gmail.com:465 \
-servername smtp-relay.gmail.com \
-crlf

This will open an interactive session that is secured with TLS.

SMTP > TLS > TCP > IP

Type EHLO kuda.ai, and the server will respond with a few 250 options.

Type AUTH LOGIN.

You need your credentials in base64.

The first prompt is your user name, the second your password.

printf user@kuda.ai | base64 | pbcopy
printf pa55word     | base64 | pbcopy