# Transactional emails sent with API taking a day to send

**URL:** <https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682>\
**Category:** Transactional\
**Created:** [Juin 26, 2024, 10:43 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682 "2024-06-26T10:43:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadl0ck](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/deadl0ck/32/657_2.png) [@deadl0ck](https://community.brevo.com/u/deadl0ck)\
**Post date:** [Juin 26, 2024, 10:43 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/1 "2024-06-26T10:43:35Z")

</div>

Hi,  
I’m testing the free tier to see what it’s like to send emails with the API (hoping to suggest a. subscription to a client when done if all goes well) and I sent emails yesterday and they all looked like they sent but the were never received.  
Today they started arriving to my inbox, and I can see the ones that had errors in the logs also now.  
I’m using python, and the code is essentially this that does the sending:

```auto
send_smtp_email = sib_api_v3_sdk.SendSmtpEmail(to=to, html_content=html_content, sender=sender, subject=subject)
api_response = api_instance.send_transac_email(send_smtp_email)

```

Should it take a day for them to send or is there a setting I am missing somewhere?  
Thanks!

---

<div class="post-metadata">

**Author:** ![ahudavert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/ahudavert/32/14_2.png) [@ahudavert](https://community.brevo.com/u/ahudavert)\
**Post date:** [Juin 27, 2024, 7:41 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/2 "2024-06-27T07:41:19Z")

</div>

Hi @deadl0ck , thanks for posting on this community.

Indeed, that’s weird, there should not be a delay like this one. Maybe @Mauricio you know more about this?

---

<div class="post-metadata">

**Author:** ![Mauricio](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/mauricio/32/56_2.png) [@Mauricio](https://community.brevo.com/u/Mauricio)\
**Post date:** [Juin 27, 2024, 7:46 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/3 "2024-06-27T07:46:21Z")

</div>

Hi @deadl0ck , where you using an authenticated/valid domain when you got the errors?

---

<div class="post-metadata">

**Author:** ![deadl0ck](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/deadl0ck/32/657_2.png) [@deadl0ck](https://community.brevo.com/u/deadl0ck)\
**Post date:** [Juin 27, 2024, 11:42 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/4 "2024-06-27T11:42:46Z")

</div>

Hi @Mauricio - yes, it’s validated:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/brevo/original/1X/be8d068ce6f9f3cec66845b9013eb9c6f28f6229.png)

---

<div class="post-metadata">

**Author:** ![deadl0ck](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/deadl0ck/32/657_2.png) [@deadl0ck](https://community.brevo.com/u/deadl0ck)\
**Post date:** [Juin 27, 2024, 11:46 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/5 "2024-06-27T11:46:59Z")

</div>

I tried it again just now and it’s working in that I get the email almost instantly.  
Weird…

---

<div class="post-metadata">

**Author:** ![Mauricio](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/mauricio/32/56_2.png) [@Mauricio](https://community.brevo.com/u/Mauricio)\
**Post date:** [Juin 28, 2024, 3:32 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/6 "2024-06-28T15:32:23Z")

</div>

I’m glad it’s working now. Did you authenticated your domain from the very beginning before you started sending?

---

<div class="post-metadata">

**Author:** ![deadl0ck](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/deadl0ck/32/657_2.png) [@deadl0ck](https://community.brevo.com/u/deadl0ck)\
**Post date:** [Juin 28, 2024, 6:57 UTC](https://community.brevo.com/t/transactional-emails-sent-with-api-taking-a-day-to-send/1682/7 "2024-06-28T18:57:22Z")

</div>

Yep - I was fully authenticated before sending anything
