SMTP integration works with default tenant, but not duplicated one
-
Did you check the SMTP settings in the duplicated tenant? The password does not copy when it is duplicated.
https://fusionauth.io/docs/v1/tech/core-concepts/tenants#overview
"When using the duplicate feature for Tenants, the SMTP password is not copied. You will have to enter this manually before sending emails.
-
yes. The SendGrid API key is the password
-
@mculley When you go edit the copied tenants settings and send a test email. Does that work for you?
The response should look something like this:
If that works, I would check the SendGrid activity for failure (it may take a while to show up in the activity) :
I'm thinking Sendgrid may be blocking it for some reason if FusionAuth thinks the send worked.
-
No, it does not. That is my original description of the problem.
- I created a
stage
tenant and configured SMTP for SendGrid. - Email test was successful.
- I created a tenant named
prod
. - The SMTP configuration was auto-added to the
prod
tenant prod
send test email failed.- I then went through each
prod
SMTP field one by one and made sure it was correct. I even generated a new API key. prod
send test email again failed.
- I created a
-
I am having other trouble that makes me wonder if there is some configuration in the tenant that I am not understanding or is not correct. Specifically, I am using Postman to send in a request to the
/api/entity/search
endpoint. Works for thestage
tenant but I cannot get the same request to work when I changeX-FusionAuth-TenantId
to the id ofprod
tenant.To summarize, for the
prod
tenant, neither of these two things work:- Send Test Email
/api/entity/search
-
PS: The
/api/entity/search
request fails with Http Code401
-
@mculley Thanks for the info. I took a look and it appears you have access to the Account Portal. If this is a time sensitive issue you can receive more timely support by opening a ticket since you have a support contract with FusionAuth.
In the mean-time, was not able to re-create your SMTP issue and appeared to work on my end. I will also spin your question about the entity serach onto another topic and take a look at if over the next couple of days. You can find the question here: Problem with entity search after copying Tenant.
-
I tried reconfiguring this again and was successful. I do not know if It was user error the first three times and not the fourth or if I changed the configuration somehow that resulted in the desired behavior.
-
@mculley , in any case, I am glad it is working for you. I think the important take away here is that if this happens again or something else comes up and you need timely support, you have access to the Account Portal.
Of course we are always glad to see you here in the forum as well.
-
-
right on. I will use that next time.