# Sending domains

**URL:** <https://forum.mautic.org/t/sending-domains/32252>\
**Category:** Development\
**Created:** [June 3, 2024, 6:11pm UTC](https://forum.mautic.org/t/sending-domains/32252 "2024-06-03T18:11:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisr](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@chrisr](https://forum.mautic.org/u/chrisr)\
**Post date:** [June 3, 2024, 6:11pm UTC](https://forum.mautic.org/t/sending-domains/32252/1 "2024-06-03T18:11:34Z")

</div>

I’m hoping to be able to use Mautic for existing users of another system to be able to send email marketing campaigns from their own domain. I’ve been doing some basic testing using the API and I’ve successfully created user accounts and set permissions etc.

We will use SendGrid as the smarthost for all users/domains however please can someone advise how can I use the API and also configure Mautic to have their domain as pre-set for their account so mail is sent from their domain?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 4, 2024, 7:35am UTC](https://forum.mautic.org/t/sending-domains/32252/2 "2024-06-04T07:35:37Z")

</div>

I have allowed something similar in Mailgun plugin:

> **[GitHub - mzagmajster/mautic-mailgun-mailer-plugin at dev](https://github.com/mzagmajster/mautic-mailgun-mailer-plugin/tree/dev)**
>
> dev

Perhaps it could be used as an inspiration. Let me know if you need any further assistance.

Best, M.

---

<div class="post-metadata">

**Author:** ![chrisr](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@chrisr](https://forum.mautic.org/u/chrisr)\
**Post date:** [June 4, 2024, 8:32am UTC](https://forum.mautic.org/t/sending-domains/32252/3 "2024-06-04T08:32:08Z")

</div>

OK thanks for this, I’ll take a look, I don’t think we have a complicated need it is really to allow users who will send email from their own domain rather than a global domain we need to handle bounces and unsubscribers just basic things like that, I don’t think this would be classed as multi-tenancy or wold it?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 4, 2024, 9:15am UTC](https://forum.mautic.org/t/sending-domains/32252/4 "2024-06-04T09:15:09Z")

</div>

No I do not think so. This should be doable.

---

<div class="post-metadata">

**Author:** ![leoschuler](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/leoschuler/32/4798_2.png) [@leoschuler](https://forum.mautic.org/u/leoschuler)\
**Post date:** [June 10, 2024, 1:00pm UTC](https://forum.mautic.org/t/sending-domains/32252/5 "2024-06-10T13:00:24Z")

</div>

I have a similar setup, not sure if that is what you are looking for:

you can use a single SendGrid plan to send emails from several domains,  
1 mautic instance connected to that Sendgrid account  
in Mautic you can use any email adress from the list of domains configure in SendGrid as Sender.

you just need to make sure all domains have configured the dns entries to allow your sendGrid Account to send email on behalf of those domains.
