How to retrieve the sender email with wp_mail()?

I’ve learned an expensive (time) lesson. The next time I’ll want to set a contact form, I’ll first check the host servers specific configuration regarding Email settings ! Thanks to Steve North, I understood that my host doesn’t allow direct custom $headers for security reason… But, I think that, every decent host has solutions for … Read more

woocommerce email template detect email recipient

The template you need to override sits on this path woocommerce/templates/emails/admin-new-order.php This template can be overridden by copying it to yourtheme/woocommerce/emails/admin-new-order.php. You can put your code there and this code will be executed for all the recipients that have been configured through the backend by going to Woocommerce > Settings > Emails > New order … Read more

WordPress unable to send mail

I never did get this to work, as a work around I had to configure the WP-SMTPMail to send directly to our Office365 instance, which required an additional user to be configured.