Purpose
MHM Rentiva relies heavily on the email system for booking confirmations and vendor notifications. This page covers how to diagnose and resolve email sending failures.
π§ Email Sending & Delivery Issues
System emails (Mailer::send) use the default WordPress wp_mail() function. Delivery issues are generally related to server configuration or the email service provider.
β 1. Emails Not Sent at All (System Errors)β
Log Checkβ
- Diagnose: Check email errors from the Rentiva > System Logs (AdvancedLogger) tab. The
EmailLogpost type records every sending attempt. - Fix: Update your SMTP settings based on the error message returned by the
Mailerclass.
SMTP Configurationβ
- Reason: The PHP
mail()function is blocked on many modern servers. - Fix: Configure a SMTP provider (SendGrid, Mailgun, etc.) using a plugin like "WP Mail SMTP" or directly from Rentiva settings.
π 2. Emails Landing in Spamβ
SPF, DKIM, and DMARC Recordsβ
- Reason: Your domain's email-sending authorization may not be correctly defined.
- Fix: Verify the following records from your DNS settings:
- SPF: Must include the IP address of the email-sending server.
- DKIM: Enables digital signing of emails.
- DMARC: Sets a policy against spoofed emails.
Sender Address Mismatchβ
- Reason: The "Sender Email" in settings may not match the email on the SMTP account.
- Fix: Make the sender address (
From:) match the authorized SMTP address.
π 3. Delayed Delivery & Queue Issuesβ
WordPress Cron (WP-Cron) Statusβ
- Reason: The system processes bulk emails or delayed notifications through WP-Cron. If your site receives no traffic, Cron may not run.
- Fix: Set up a real server-side Cron job to trigger
wp-cron.phpevery minute.
Service Provider Limitsβ
- Reason: Shared hosting plans may enforce hourly email limits.
- Fix: Check your limits or switch to a professional email delivery service.
π οΈ 4. Test Mode & Debuggingβ
Email Test Modeβ
- Check: If the
mhm_rentiva_email_test_modesetting is enabled, emails are only logged toAdvancedLoggerinstead of being sent to real recipients. - Fix: Make sure test mode is off before going live.
Template Errorsβ
- Reason: If a custom HTML template (
EmailTemplates) is used, faulty PHP code can stop delivery. - Fix: Test sending using the default template.
Checklistβ
- Check the
EmailLogpost type. - Test the SMTP connection.
- Verify domain DNS records (SPF/DKIM).
- Confirm test mode is disabled.
Changelogβ
| Date | Version | Note |
|---|---|---|
| 23.04.2026 | 4.27.2 | English translation added. |
| 19.03.2026 | 4.21.2 | SMTP, DNS (SPF/DKIM), and Test Mode details added. |