# Possible email\_only bug

**URL:** <https://forum.ghost.org/t/possible-email-only-bug/49244>\
**Category:** Bugs\
**Created:** [August 2, 2024, 1:23pm UTC](https://forum.ghost.org/t/possible-email-only-bug/49244 "2024-08-02T13:23:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timbenz](https://avatars.discourse-cdn.com/v4/letter/t/bbce88/32.png) [@timbenz](https://forum.ghost.org/u/timbenz)\
**Post date:** [August 2, 2024, 1:23pm UTC](https://forum.ghost.org/t/possible-email-only-bug/49244/1 "2024-08-02T13:23:16Z")

</div>

Using the latest build, if you set a post as email\_only via admin API, then send it, it seems to unpredictably rewrite URLs contained in the post to the domain from which they were sent.

For example, a link to [https://somedomain.com/a\_story](https://somedomain.com/a_story) from a post at [https://mysite.com](https://mysite.com), where I have Ghost self-hosted, becomes a link to [https://mysite.com/a-story](https://mysite.com/a-story), rewriting and breaking the link.

The post’s links are fine on my Ghost site, but the URLs are rewritten somehow when sending, but only if the email\_only flag it set to true via the API.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [October 31, 2024, 1:23pm UTC](https://forum.ghost.org/t/possible-email-only-bug/49244/2 "2024-10-31T13:23:30Z")

</div>

Closed on October 31, 2024, 1:23pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
