Hey all, has anyone setup a Mailgun API call with ...
# ask-a-descoper
g
Hey all, has anyone setup a Mailgun API call with Descope before? I keep running into blocks. • The generic email connector seems hardwired to use "sender" and "recipient" but mailgun expects "to" and "from" ◦ I also can't find any docs about this connector? ◦ Is there any way I can map sender & recipient instead? • The generic HTTP request doesn't seem to support sending multipart/form-data that Mailgun requires. Is that possible at all?
✅ 1
m
@Rahul Rijhwani can you help here ?
👀 1
r
Let me check.
g
All good. I've setup an smtp server with mailgun to get around it, but thanks for looking 🙂 I do have a follow up question though, it seems to be ignoring my custom template? It comes through when testing but in the flow just reverts to the default? Screenshots of flow settings and OTP settings in auth methods
🙌 1
If I hit test email in the OTP auth methods settings, works great. If I run that in my live app or from the test run in the flow it still uses the default otp template
r
What is your project id?
g
@Rahul Rijhwani
P34Ab6G1PaU6Jx7Dok8XxIV3ojJX
👀 1
Not sure if you did something or if it just takes a minute to switch over but appears to be working now!
r
It will take few minutes to apply the setting.
g
All good now, thank you!
🙌 1
r
Great, it is working fine now. Let us know if you need any further assistance
gratitude thank you 1