Error Message - Trying to Test

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
mwpackman
Forum Newbie
Posts: 1
Joined: Tue Oct 16, 2007 6:55 pm

Error Message - Trying to Test

Post by mwpackman »

Hi there,

I thought I followed all the upload instructions. Maybe I forgot to do something.

I get the following message when I try to run runTestOfBasicSend.php

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../Tests/smokes/runTestOfBasicSend.php on line 7

Thanks kindly
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

you have a syntax error in your code. Post here the first 10 lines of the file runTestOfBasicSend.php so we can guide you what you are doing wrong
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Sounds like your trying to use the php5 version on a php4 build.

Create a blank file, and add

Code: Select all

phpinfo();
to see which version is loaded. If it is infact php4, you'll want to download Swift Mailer's php4 version.
Post Reply