Skip to content

Commit

Permalink
[merge] pull
Browse files Browse the repository at this point in the history
  • Loading branch information
LinThitHtwe committed Dec 2, 2024
2 parents af8aa9c + 5b198b2 commit 0c77404
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# FluentEmail Example

This repository is an example for sending emails using the [FluentEmail](https://github.com/lukencode/FluentEmail) library.

## Prerequisites

- SMTP server credentials (e.g., Gmail, Outlook, or custom server)

## Setup

**Clone the Repository**:
```bash
git clone https://github.com/your-username/FluentEmailExample.git
```

**Configure Environment Variables**: Add environment variables in a ```.env``` file inside ```FluentEmail.Example.Api``` project:

```bash
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL=your-email@example.com
DEFAULT_EMAIL=your-email@example.com
EMAIL_PASSWORD=your-email-password
```

## Usage

You can check out the [postman collections](https://github.com/LinThitHtwe/FluentEmail.Example/blob/main/FluentEmail.Example.postman_collection.json) for calling the endpoints.

0 comments on commit 0c77404

Please sign in to comment.