---
title: "Edit Email Server"
method: PUT
path: "/v3.0/email-servers/{slug}/"
tags: ["email-servers"]
---

# Edit Email Server

`PUT /v3.0/email-servers/{slug}/`

## Request

- Base URL: `https://api.formaloo.me`
- URL: `https://api.formaloo.me/v3.0/email-servers/{slug}/`
- Auth: none declared. Required headers: `x-api-key`

## Path parameters

- `slug` string, required

## Headers

- `x-api-key` string, required
- `x-workspace` string

## Request body

- EmailSenderRequest
  - `sender_default_email` string, email, nullable: sender's default email. if not set, email's will be sent from the system's default.
  - `sender_default_name` string, nullable: sender's default name. you'll have to set the sender default email to use this.
  - `default_reply_to_email` string, email, nullable: the default address to set as the email's default `reply to` email address.
  - `smtp_username` string, nullable: smtp username. you'll have to set this value to use the custom sender.
  - `smtp_password` string, required
  - `smtp_host` string, nullable: smtp smtp host. you'll have to set this value to use the custom sender.
  - `smtp_port` integer, nullable: smtp port. you'll have to set this value to use the custom sender.
  - `smtp_use_tls` boolean
  - `is_enabled` boolean: is this sender currently enabled?
  - `title` string, nullable: a title to identify this email sever

## Response `200`

- EmailSender
  - `sender_default_email` string, email, nullable: sender's default email. if not set, email's will be sent from the system's default.
  - `sender_default_name` string, nullable: sender's default name. you'll have to set the sender default email to use this.
  - `default_reply_to_email` string, email, nullable: the default address to set as the email's default `reply to` email address.
  - `smtp_username` string, nullable: smtp username. you'll have to set this value to use the custom sender.
  - `smtp_host` string, nullable: smtp smtp host. you'll have to set this value to use the custom sender.
  - `smtp_port` integer, nullable: smtp port. you'll have to set this value to use the custom sender.
  - `smtp_use_tls` boolean
  - `is_enabled` boolean: is this sender currently enabled?
  - `is_active` string
  - `slug` string, nullable
  - `title` string, nullable: a title to identify this email sever

---

[API](https://skmtc.dev/formaloo/apis/formaloo-api-documentation.md) · [All operations](https://skmtc.dev/formaloo/apis/formaloo-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/formaloo/apis/formaloo-api-documentation/revisions/47b268aeb656?raw)
