Page 1 of 1

Release Candidate 1 for PHP4

Posted: Tue Feb 13, 2007 4:10 pm
by Chris Corbyn
Pheeww! It's a relief, I can say that much and luckily I havne't destroyed the PHP5 API too much... it's basically the same -- just remember to use the reference operator!

Code: Select all

$message =& new Swift_Message(...);
$att =& new Swift_Message_Attachment(...);
$message->attach($att);
Please run the smoke tests. I mean, you don't have to, but even for non testers it's the most obvious way to whinge to me that something isn't working right while we're still at release candidate phase - save me any embarassment :oops:

To run the smoke tests (image based, visual tests) edit the file at tests/TestConfiguration.php then run the files in tests/smokes.

Download:
http://www.swiftmailer.org/pre-releases ... rc1.tar.gz [757KB]
http://www.swiftmailer.org/pre-releases ... p4-rc1.zip [957KB]

Documentation:
http://www.swiftmailer.org/wikidocs (ermm... ok, soon I swear :P)

There's also API documentation in the docs folder.

This is quite hot off the press and I rely on feedback to fix any bugs/dislikes. If you download it and it doesn't work don't just grunt and toss it away :P tell me what's up so I can fix it ;)

Posted: Fri Feb 16, 2007 8:15 am
by Chris Corbyn
Gone to RC2 already. Really minor changes to function naming, that's all. I'd used the keywords "throw", "catch" and "implements" in the PHP4 version as method names but hadn't been nice enough to consider those who want forward compatibility by running the PHP4 version in a PHP5 environment.

The PHP version runs under E_ALL in PHP5 without notices.

http://www.swiftmailer.org/pre-releases ... rc2.tar.gz
http://www.swiftmailer.org/pre-releases ... p4-rc2.zip