# Send emails using Liferay with SMTP

## Prerequisites

Before you start, you'll need:

- A Resend [API key](/guides/get-started-create-an-api-key)
- A [verified domain](/guides/get-started-add-a-domain)

## Guide

::::steps
:::step{title="Get the Resend SMTP credentials"}
When configuring your SMTP integration, you'll need to use the following credentials:

- **Host**: `smtp.resend.com`
- **Port**: `465`
- **Username**: `resend`
- **Password**: `YOUR_API_KEY`
:::

:::step{title="Integrate with Liferay"}
After logging into your Liferay instance as the admin user, you'll need to enable the SMTP integration.

1. Navigate to **Control Panel** → **Server Administration** → **Mail**.

![Liferay - SMTP](../img/site-assets/mintcdn.com/resend/OWNnQaVDyqcGyhhN/images/liferay-smtp-1-b9qrzi.jpg)

2. Copy-and-paste the SMTP credentials from Resend to Liferay.

- **Outgoing SMTP Server**: `smtp.resend.com`
- **Outgoing Port**: `465`
- **Enable StartTLS**: `True`
- **User Name**: `resend`
- **Password**: `YOUR_API_KEY`

Make sure to replace `YOUR_API_KEY` with an existing key or create a new [API Key](https://resend.com/api-keys).

For the additional JavaMail properties, you can use:

```
mail.smtp.auth=true
mail.smtp.starttls.enable=true
mail.smtp.starttls.required=true
```
:::
::::

## Related pages

- [Send emails with SMTP](./get-started-send-with-smtp.md)
- [Send Auth0 transactional emails with Resend](./get-started-send-with-auth0.md)
- [Send emails using Customer.io with SMTP](./get-started-send-with-customer-io-smtp.md)
- [Send emails using Django with SMTP](./get-started-send-with-django-smtp.md)
- [Send emails using Laravel with SMTP](./get-started-send-with-laravel-smtp.md)
- [Send emails using Nodemailer with SMTP](./get-started-send-with-nodemailer-smtp.md)
- [Send emails using PHPMailer with SMTP](./get-started-send-with-phpmailer-smtp.md)
- [Send emails using Rails with SMTP](./get-started-send-with-rails-smtp.md)
- [Send emails using Retool with SMTP](./get-started-send-with-retool-smtp.md)
- [Send emails using Supabase with SMTP](./get-started-send-with-supabase-smtp.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
