W
Wasp-lang2mo ago
Sven

I dont get the signup mail locally

I dont see the log for the signup mail in my local terminal, why is that? I did something with mailgun recently but I am not sure what.
3 Replies
kapa.ai
kapa.ai2mo ago
Hi @Sven. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- It seems like you might have set up Mailgun as your email provider in your Wasp application. If you've done this, the emails won't be logged in your local terminal anymore, they will be sent through Mailgun instead. To check if you've set up Mailgun, you can look in your main.wasp file for a section that looks like this:
app Example {
...
emailSender: {
provider: Mailgun,
}
}
app Example {
...
emailSender: {
provider: Mailgun,
}
}
If you see provider: Mailgun, that means you're using Mailgun to send emails. You'll need to check your Mailgun account to see the emails. If you want to switch back to logging emails in your local terminal, you can change the provider to Dummy:
app Example {
...
emailSender: {
provider: Dummy,
}
}
app Example {
...
emailSender: {
provider: Dummy,
}
}
The Dummy provider doesn't actually send emails, it just logs them to the console. Also, make sure you have the correct Mailgun API key and domain in your .env.server file. If these are not correct, the emails might not be sent correctly.
MAILGUN_API_KEY=
MAILGUN_DOMAIN=
MAILGUN_API_KEY=
MAILGUN_DOMAIN=
You can get these values from your Mailgun account. If you're not sure how to do this, you can follow the steps in the Wasp documentation (https://wasp-lang.dev/docs/advanced/email#using-the-mailgun-provider). If you're still having trouble, please provide more details about what you've done and any error messages you're seeing. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Sven, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
CamBlackwood
CamBlackwood2mo ago
@Sven I think if you aren't using the dummy provider, it won't show up in your terminal
Sven
SvenOP2mo ago
It was becUse i already used the email for an account
Want results from more Discord servers?
Add your server