Hello @ashf,
Thanks for reaching out and reporting this issue!
We understand you’re experiencing problems with sending emails when the return-path option is enabled on Kinsta hosting, and that your custom code to set the return-path isn’t working as expected. It’s definitely odd that the issue is specific to Kinsta.
Since this seems to be a unique environment-specific problem, we’d like to investigate further and gather more details about your setup. To help us understand the issue completely, please create a support ticket through the WPManageNinja Support Portal.
Providing us with the following information in your ticket will be very helpful:
- FluentSMTP Configuration: Details of how you have configured FluentSMTP, including the SMTP provider you are using (e.g., Amazon SES, SendGrid, Mailgun, etc.) and the settings you’ve entered.
- WordPress & Plugin Versions: Your WordPress version, FluentSMTP version, and versions of any other relevant plugins (like your mail logging plugin if you’re using one).
- Kinsta Environment Details: Any information about your Kinsta setup that might be relevant, such as PHP version, Kinsta CDN settings, or any specific configurations you’ve made within your Kinsta account related to email.
- Error Logs: Any error logs from FluentSMTP, WordPress, or your SMTP provider that might shed light on the problem. You can usually find these logs within your WordPress dashboard (if logging is enabled), your hosting account, or your SMTP provider’s interface.
- Steps to Reproduce: A clear set of steps that we can follow to reproduce the issue on our end, if possible.
- Test Email Results: The results you’re seeing when sending test emails with and without the
return-path option enabled in the Email Header.
Our experts will be happy to assist you further with your specific use case once you open a ticket and provide this information. We’ll work with you to diagnose the root cause of the problem and find a solution.