I am trying to add the functionality to send my customers emails from my website backend and am attempting to use swiftmailer to do this. I unfortunately keep getting an error
Eventually worked out that
$transport = Swift_smtpTransport::newInstance( "mx1.hostinger.co.uk" , 2525 );
Should in fact be
$transport = Swift_SmtpTransport::newyInstance( "mx1.hostinger.co.uk" , 2525 );
and then afterwards that my hosting provider does not allow mail to be sent by SMTP on my plan.