WordPress Gmail SMTP Plugin – Emails Don’t Send and No Error Displayed

When sending a test email, it was hanging on the authentication method:

Installing curl resolved it. For Debian and Ubuntu: