Update:

I have tried to move to version 5.0.5 from 4.2.2, and have found and fixed the SMTP issue previously identified.

Here's the problem, but I'm not sure how to fix it. I...