I need help with Error Message on Initial Use

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
jakeb
Forum Newbie
Posts: 1
Joined: Thu May 13, 2010 6:08 pm

I need help with Error Message on Initial Use

Post by jakeb »

Hi,

I just installed swift mailer and I am looking forward to using it. I ran into a problem on my initial use.

Parse error: syntax error, unexpected T_CLASS in /path/swift/lib/classes/Swift.php on line 18

Line 18 is the first line of actual code in this file, and it reads: "abstract class Swift"

What's up with this?

Thanks for all your help?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: I need help with Error Message on Initial Use

Post by John Cartwright »

You need to upgrade your PHP version to at least 5.1.2 (since Swiftmailer is incompatible with PHP4).
Post Reply