First off, great plugin. It is just what I was looking for. Thank you.
I think you should convert your sendEmail method located in Email.php to using the wp_mail method instead of Nette’s mail class.
This change will allow plugins that tie into wp_mail to send mail using APIs to continue to work along side your plugin. I use https://postmarkapp.com/ and http://www.mailgun.com/ on some of my sites and both have plugins that tie into the wp_mail function.
This is the route for sites that are hosted on servers that don’t support SMTP such as AppFog.com or even on localhosts that aren’t SMTP configured.
I’m working on this change now but I’d definitely like to see it added so updates don’t break my change. Once I get it working, I’ll share the code.
- The topic ‘Use of wp_mail’ is closed to new replies.