I use SwiftMailer in my PHP script to send emails upon HTML form submission.
On the test server it all works fine.
On the production server (different host) it gives me this error message:
Parse error: syntax error, unexpected
T_CLASS in
/home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php
on line 18
The two machines use different version of PHP: one is PHP5 and the other is PHP4.4.9.
Could that cause the problem or it's something else?
How do I resolve it?
Thank you!