#Jonnygo55 - Email Error

1 messages · Page 1 of 1 (latest)

coarse viper
#

Hello! Can you provide more details? Where are you seeing this error?

trail portal
#

yes this is happening in TEST MODE when sending an invoice to an email

coarse viper
#

We have a lot of limits on emails in test mode. As far as getting around the limit there's not really a way beyond waiting for a little while.

trail portal
#

so does it sound accurate that 100 per day is normal and nothing new?

coarse viper
#

Honestly I'm surprised it's that's high, but yeah that sounds normal to me.

trail portal
#

hmmm ok

coarse viper
#

Those would be treated as different emails.

trail portal
#

ok maybe we'll try that

coarse viper
#

Did that approach work for you?

nimble kestrel
#

👋

trail portal
#

Hi Karbi...

#

so yeah not sure why we started getting this error after a year or so of using Stripe....

nimble kestrel
#

Do you have an example invoice I can take a look at?

trail portal
#

sure one moment

nimble kestrel
#

thanks! let me take a look...

trail portal
#

thanks

wild falcon
#

@trail portal that error happens when your account is causing too many emails to be sent in Test mode. We're sending real emails in this case and you're "spamming" your own inbox.
Can you change your test to not cause emails to be sent instead? Otherwise you'll have to slow down your tests

trail portal
#

to ourselves of course

wild falcon
#

We do send emails in some specific cases like manual invoicing and send_invoice subscription if the recipient is your own account's team member

#

but we recommend only using this to manually test things not as part of your overall test suite

#

maybe you didn't know someone on your team was really receiving those emails?

trail portal
#

hmm yeah as far as i know they are going to a shared inbox

#

that being said we forked the code to not use the send call in UAT environments and that seems to have fixed things but still was confused as to why we were throttled in that sense anyway

wild falcon
#

yeah I think you maybe got unlucky and went right above our daily limits

trail portal
#

so maybe it was the send_invoice subsctiption....

#

maybe if just don't do that in UAt but still do the send call we'd be ok?

#

ok no big deal...just wanted to get a bit more clarification...thanks for talking it through

wild falcon
#

if you use Send, just associate with a different email address that isn't a team member, in which case it won't send

trail portal
#

not associated with our domain?

wild falcon
#

well you can use test@example.com or something. We won't email anyways but don't put someone's real email just to not receive the email yourself
the problem is likely that the invoice is associated with a customer whose email is one of the account's team members so we send a real email, so when you try too many times we block it. If we just succeeded and skipped the email you'd be confused why the email doesn't arrive either so we error