WP_Mail not sending on VVV? Try this!

Today, I had to run some tests using the wp_mail() function in Varying Vagrant Vagrants and found that no email was being sent out. I love VVV and how easy it is to setup a develop environment locally, but when it comes to the nitty gritty of server configurations, things get kind of blurry. Fortunately, I came across some instructions on how to make your Ubuntu server utilize Gmail’s SMTP server for outgoing mail.

With a quick SSH into the vagrant (vagrant ssh), I was able to copy and paste all instructions and in a matter of minutes, my inbox began to get flooded with messages of my previous sending attempts.

Hope this helps someone with the same problem.

1 thought on “WP_Mail not sending on VVV? Try this!

Leave a Reply

Your email address will not be published. Required fields are marked *