wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.75k stars 1.14k forks source link

Mailgun email provider not working. #2141

Open Aunchers opened 4 days ago

Aunchers commented 4 days ago

Describe the bug I am using OpenSaaS.sh which is using the wasp software, infact it is built into wasp. When making the Email Sending Provider "MailGun" like in the docs, the code errors out as if MailGun is not a recognizable term. Refer to The OpenSaaS.sh Docs for more info

To Reproduce Steps to reproduce the behavior:

  1. Create SaaS template, and go through steps to initialize.
  2. in .env.server change ln:79 or emailSender.provider to "MailGun"
  3. run wasp build to build for deploy
  4. See error

Expected behavior Builds the deployable .wasp/build just like it works with sendgrid provider

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

infomiho commented 4 days ago

You need to put Mailgun as the provider (lowercase g) as per the docs: https://wasp-lang.dev/docs/advanced/email#using-the-mailgun-provider

Let me know if that worked out for you.

Martinsos commented 3 days ago

@infomiho it seems our comments in open saas are wrong then, they say to use SendGrid or MailGun (big G), you can see them printed there in the screenshot above.