# SMTP Get SMTP credentials for sending emails directly through our mail servers. Use these endpoints to retrieve and rotate your SMTP passwords. ## Get SMTP credentials - [GET /api/smtp-credentials](https://developers.mailerlogic.com/customer-api.openapi/smtp/paths/~1api~1smtp-credentials/get.md): Retrieve your SMTP server credentials for sending emails. Use these credentials to configure your email client, application, or mail library. Port 587 (STARTTLS) is recommended for best compatibility. ## Rotate SMTP password - [POST /api/smtp-credentials/rotate](https://developers.mailerlogic.com/customer-api.openapi/smtp/paths/~1api~1smtp-credentials~1rotate/post.md): Generate a new SMTP password. The old password will be immediately invalidated.