Custom SMTP sending method failing again