Newsletters allow finer control over distribution of site content via email, allowing members to opt-in or opt-out of different categories of content. By default each site has one newsletter.
The newsletter object
Key | Description |
---|---|
name | Public name for the newsletter |
description | (nullable) Public description of the newsletter |
status | active or archived - denotes if the newsletter is active or archived |
slug | The reference to this newsletter that can be used in the newsletter option when sending a post via email |
sender_name | (nullable) The sender name of the emails |
sender_email | (nullable) The email from which to send emails. Requires validation. |
sender_reply_to | The reply-to email address for sent emails. Can be either newsletter (= use sender_email ) or support (use support email from Portal settings). |
subscribe_on_signup | true /false . Whether members should automatically subscribe to this newsletter on signup |
header_image | (nullable) Path to an image to show at the top of emails. Recommended size 1200x600 |
show_header_icon | true /false . Show the site icon in emails |
show_header_title | true /false . Show the site name in emails |
show_header_name | true /false . Show the newsletter name in emails |
title_font_category | Title font style. Either serif or sans_serif |
show_feature_image | true /false . Show the post’s feature image in emails |
body_font_category | Body font style. Either serif or sans_serif |
footer_content | (nullable) Extra information or legal text to show in the footer of emails. Should contain valid HTML. |
show_badge | true /false . Show you’re a part of the indie publishing movement by adding a small Ghost badge in the footer |