---
updatedAt: 2026-02-12T21:01:17.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/llms.txt
---

# Test smtp server

Test the smtp server configuration

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Title Editor",
    "description": "External patch source for Jamf Pro",
    "version": "2.0"
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "servers": [
    {
      "url": "https://yourServer.appcatalog.jamfcloud.com/v2"
    }
  ],
  "tags": [
    {
      "name": "smtpserver"
    }
  ],
  "paths": {
    "/smtpserver": {
      "post": {
        "tags": [
          "smtpserver"
        ],
        "summary": "Test smtp server",
        "description": "Test the smtp server configuration",
        "operationId": "testSmtpServer",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/emailRecipient"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful response - Email sent",
            "content": {}
          },
          "503": {
            "description": "Email failed to send",
            "content": {}
          }
        },
        "security": [
          {
            "bearer": [
              "read:preferences"
            ]
          }
        ],
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "components": {
    "schemas": {
      "emailRecipient": {
        "required": [
          "recipient"
        ],
        "type": "object",
        "properties": {
          "recipient": {
            "type": "string",
            "example": "user@example.com"
          }
        }
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}
```