I am writing a custom plugin that sends an email to users from admin/front end section. I am using wp_email() to send emails and emails are being sent fine. I am testing this on a plain WP installation with only my plugin installed and hostgator as my hosting server. Whenever the email is sent, the […]
I moved one of my wordpress site to an AWS instance. But once I got it working, noticed that none of the notifications or contact emails were being sent through. On researching the issue, I found that if I set the SMTP server to be an external SMTP (my AWS instance doesn’t have one), it […]
I realized that popular WordPress plugin Contact Form 7 uses this library https://github.com/PHPMailer/PHPMailer. When I check source of mail, which has been sended from Contact Form 7, it looks like this: X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer) X-WPCF7-Content-Type: text/plain So, this version is from (Nov 1st 2015). https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md The latests one is: Version 5.2.18 (December 24th 2016) […]
Assume we have blank WP site and we want to setup SMTP settings programmatically in our plugin or theme. What’s the easiest way to do it without changing core files?
I have a problem with my page. I’m trying to make a “Contact Us” page. It’s working perfectly fine design-wise. But when I try to send the form to the same page as origin. It returns 404 error. It only happens when I’m sending the form. I’ve tried both with GET and POST requests. Nothing […]