When they search, make sure they find you!

Email Settings

The Email Settings section controls how payment link emails are composed and sent. These defaults are used whenever you click “Send Email” on the generator page. Pro users can override these defaults on a per-send basis using saved email templates.

Sender Details

Two fields control who the email appears to come from:

  • From Name (idplg_from_name) — The display name shown in the recipient’s inbox. If left empty, the plugin falls back to your site’s name as defined in Settings > General.
  • From Email (idplg_from_email) — The email address used as the sender. If left empty, the plugin uses the admin email from Settings > General.

Important: For reliable email delivery, make sure the From Email address uses a domain that matches your server or that is authenticated with your SMTP provider. Using a mismatched domain (e.g., sending from a Gmail address on a non-Gmail server) often results in emails landing in spam.

Email Subject

The Email Subject field (idplg_email_subject) defines the default subject line for payment emails. It supports merge tags that are replaced with actual client data at send time:

  • {first_name} — Client’s first name
  • {last_name} — Client’s last name
  • {email} — Client’s email address
  • {amount} — Payment amount
  • {payment_link} — The generated payment URL

Example subject: Payment Link for {first_name} {last_name} — ${amount}

Email Body

The Email Body field (idplg_email_body) uses the WordPress visual editor (TinyMCE / wp_editor), giving you full control over the HTML layout and formatting of your emails. The same merge tags listed above are available in the body, plus:

  • {logo} — Embeds your uploaded logo as an <img> tag

The default template that ships with the plugin is a clean, professional invoice-style layout with your logo at the top, a greeting line, the payment amount, and a prominent “Pay Now” button that links to the payment URL. You can completely replace this with your own HTML or customize the existing layout.

HTML Emails

All emails are sent with the text/html content type. The plugin sets the Content-Type header via wp_mail() so your HTML template renders correctly in email clients. Keep in mind standard email HTML limitations — use inline styles or embedded <style> blocks, and avoid external CSS files.