Email settings resources

Get email settings

GET /settings/email

Response

{
    "enabled": true,
    "sender_name": "Sherlock Holmes",
    "tech_support": "techsupport@example.com",
    "feedback_to": "feedback@example.com",
}


Update email settings

PUT /settings/email

Note: If a setting key is omitted the setting is ignored. If the value for a setting is set to null the respective setting is reset to its default value.

Parameter Type Default Description
enabled boolean false
sender_name string starmind.mail.defaultSenderName from application.conf Email sender name
tech_support string support@starmind.com Email contact for technical support. Displayed on error pages.
feedback_to string starmind.mail.defaultReplyTo from application.conf Recipient of feedback emails

Response

{
    "enabled": true,
    "sender_name": "Sherlock Holmes",
    "tech_support": "techsupport@example.com",
    "feedback_to": "feedback@example.com",
}