# Use Mailgun API, instead of SMTP for onboarding-emails?

**URL:** <https://forum.ghost.org/t/use-mailgun-api-instead-of-smtp-for-onboarding-emails/56417>\
**Category:** Self-hosting\
**Created:** [March 28, 2025, 12:01pm UTC](https://forum.ghost.org/t/use-mailgun-api-instead-of-smtp-for-onboarding-emails/56417 "2025-03-28T12:01:08Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Nodepond](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@Nodepond](https://forum.ghost.org/u/Nodepond)\
**Post date:** [March 28, 2025, 7:37pm UTC](https://forum.ghost.org/t/use-mailgun-api-instead-of-smtp-for-onboarding-emails/56417/9 "2025-03-28T19:37:33Z")

</div>

And here it is!

> [@Make onboarding emails also work via API (not only SMTP)](https://forum.ghost.org/t/make-onboarding-emails-also-work-via-api-not-only-smtp/56426):
>
> The following problem: I had some issues setting up SMTP for Digital Ocean. And also other hosters, since there seems to be a tendency towards “we will not allow SMTP traffic” for a good reason. Please also refer to this thread: [Use Mailgun API, instead of SMTP for onboarding-emails? - #3 by Nodepond](https://forum.ghost.org/t/use-mailgun-api-instead-of-smtp-for-onboarding-emails/56417/3) The idea here is now: Why not make ghost available to use API-calls, like the one we have with mailgun, to get the onboarding emails gone right. Right now I can live with the “workarounds”, like …

Thanks for all the support so far!

---

_[View the full topic](https://forum.ghost.org/t/use-mailgun-api-instead-of-smtp-for-onboarding-emails/56417)._
