Resending Emails
Sometimes a client loses an email, it lands in spam, or they simply request the payment link again. Instead of generating a new link, you can resend the original email directly from the log.
How to Resend
- Navigate to Payment Links > Log.
- Find the log entry for the email you want to resend. Use the search and filter tools if needed.
- Click the “Resend” button on the corresponding row.
- The button text changes to “Resending…” while the email is being processed.
- A success or failure message appears once the operation completes.
What Happens When You Resend
The resend operation re-sends the original email to the same recipient with the same parameters:
- Same payment link URL — The exact same link from the original email
- Same email subject — The subject line is preserved
- Same recipient — The email goes to the same address
Importantly, a new log entry is created for the resend. This means you have a full audit trail showing both the original send and each subsequent resend, each with its own timestamp and status.
Technical Details
The resend functionality uses the idplg_resend_email AJAX endpoint. When you click the Resend button, a JavaScript AJAX request is sent to WordPress with the log entry ID. The server retrieves the original log entry data, reconstructs the email, and dispatches it via wp_mail(). The response indicates success or failure, which is displayed as an on-screen notification.
Common Use Cases
- Email went to spam — The client checked their spam folder but already deleted it. Resend and ask them to whitelist your sender address.
- Client lost the email — They can’t find the original. One click and they have a fresh copy.
- Client requests it again — They want the payment link re-sent to a colleague. Note: the resend goes to the original email address, so for a different recipient you would need to generate a new email.
- Original send failed — If the first attempt shows a “Failed” status (perhaps due to a temporary server issue), resend to try again.
Note: The resend always goes to the original email address. If you need to send the same payment link to a different address, copy the link from the log entry (using “View Link”) and send it manually or generate a new email.
