Skip to content

3000 mails free per month for woocommerce with resend.com

Overview the purpose, the problem it is solving

For SME woocommerce, we need to send email to customer/shop admin, when woocommerce order/invoice/account are changed.

Proposal

  • On resend.com, Register resend.com account, verify domain, create API key
  • On wordpress website, install and configure Mail SMTP Plugin, manage Woocommerce email settings

Weighting / Pros and cons

Pros
  • Free 3000 mails per month
  • Not spam mail
Cons
  • Resend free account allows creating only 1 domains, it should be your domain or company's domain

Implementation steps

Register a Resend service account

go to: https://resend.com

Create Resend API key

go to: https://resend.com/api-keys

resend-create-API-key.png

Register domain

go to: https://resend.com/domains

resend-domain-detail.png

Download WordPress Mail SMTP Plugin

https://vi.wordpress.org/plugins/wp-mail-smtp/

Install Mail SMTP Plugin

Login into your wordpress admin Install plugin in admin site
  • On the left menu: Plugins -> Add New Plugin -> Upload plugin
  • Select plugin downloaded from step 1 -> Install now

wp-install-plugin.png

Update Mail SMPT config
  1. When install plugin successfully, on the left menu will display item WP Mail SMTP

  2. Update to these configs

  • License Key: Free version, empty value
  • From Email: Must have domain is registerd on resend.com/domains, exp: admin@quochuy.dev
  • From Name: (can be your branding or your website)
  • Force From Name: default false
  • Return Path: default false
  • Mailer: Other SMTP
  • SMTP Host: smtp.resend.com
  • Encryption: TLS
  • SMTP Port: 587
  • Authentication: On
  • SMTP Username: resend
  • SMTP Password: (value is from API key created on Resend)
  1. Click Save settings

wp-update-smtp-config.png

Define email notifications

  • On the left menu: WooCommerce -> Settings -> Emails
  • Manage Email notifications
  • Click Save changes

woocommerce-setting-mail-1.png

woocommerce-setting-mail-2.png

Testing

  • On woocommerce website, add to cart products then checkout order
  • Check admin gmail

woocommerce-setting-mail-1.png