Setting up SMTP and email templates

The plugin sends through WordPress's wp_mail(). For reliable delivery in production you must configure a real SMTP mailer.

Configure SMTP

  1. Install the free WP Mail SMTP plugin.
  2. Go to WP Mail SMTP → Settings.
  3. Set From Email to your authenticated sender address — it must exactly match your SMTP login, or you'll get "Sender address rejected" bounces.
  4. Choose your mailer (Other SMTP, Gmail, SendGrid, Mailgun).
  5. Enter host, port, username and password from your provider.
  6. Send a test email to verify.

Provider examples

  • Hostinger / cPanel: host smtp.hostinger.com, port 587 (TLS) or 465 (SSL), username = full email address.
  • Gmail: smtp.gmail.com, port 587, with an App Password (not your normal password).

Email template placeholders

Configure per-entity templates under Settings → Email. WordPress shortcodes are processed after placeholders, so both can be mixed.

PlaceholderReplaced with
{name}Recipient's full name
{certificate_title}Certificate type / title
{email}Recipient's email address
{serial_number}Certificate serial number
{expires_at}Expiry date (or "Never")
{certificate_count}Number of certificates in this send
{result_link}Link to the online results page
{verify_link}Link to the verification page
{zip_link}Download link, used when the ZIP would exceed 25 MB