Email, for receipts and alerts

What you need

Time: 20 minutes with Resend, and up to a day if you verify a domain

  • A domain name your masjid owns, for the best result.
  • Or the SMTP details for an email address your masjid already has.

OpenMasjidOS uses email for two things: telling you when something breaks, and letting your apps send receipts to donors and parents.

There are two ways to provide it. Pick one.

Which to choose

Resend Your existing email
Set-up effort Paste one key Find the SMTP details
Reliability for receipts Better Depends on the provider
Cost Free for a few thousand messages a month Already paid for

Option A — Resend

  1. Sign up at resend.com.
  2. Add your masjid's domain, and add the DNS records Resend gives you to Cloudflare.
  3. Wait for Resend to show the domain as verified.
  4. Open API Keys, then create a key with permission to send.
  5. Copy the key. It is shown once.
Result:

Resend shows the domain verified and the key created.

Then put it into the dashboard, as in Email and alerts.

Verifying a domain, in plain words

Resend asks you to add a few records to your domain's DNS. Those records are how your domain tells the world that Resend is allowed to send on its behalf. Without them, mail from your masjid is likely to be treated as spam.

You add them in Cloudflare, under DNS for your domain. Copy each value exactly.

Option B — the email address you already have

You need four things from whoever provides your masjid's email: the SMTP host, the port, the username and the password.

Provider Host Port
Google Workspace smtp.gmail.com 587
Microsoft 365 smtp.office365.com 587
Anything else Ask them, or search their help pages for "SMTP settings"

Then fill those into the dashboard, as in Email and alerts.

Checkpoint

You have either a Resend API key, or an SMTP host, port, username and password. The From address is at a domain your masjid owns.

If something goes wrong

What you seeWhyWhat to do
Resend will not verify the domain.A DNS record is missing or has a typo.Compare each record in Cloudflare against Resend, character for character. Cloudflare sometimes adds your domain to the end of a name — remove the duplicate.
SMTP is refused with an authentication error.The normal account password was used.Create an app-specific password in your email account, then use that.
Receipts arrive in spam.The sending domain is not verified, or the From address is at a domain the provider does not own.Verify the domain, and set the From address to one at your own domain.