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
CarlosB
Forum Newbie
Posts: 10 Joined: Tue Mar 27, 2007 5:16 am
Post
by CarlosB » Fri Mar 30, 2007 11:51 am
I've got a problem now! I made this with php5, but my server runs php4! If i change the lib folder to the one in Swift-3.1.2-php4, do i have to change the code?
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Fri Mar 30, 2007 12:08 pm
Nope, it will work fine
The PHP4 version actually runs in PHP5 and PHP4. But if your run it in PHP5 with E_STRICT turned on you'll get warnings.
Go ahead and replace the directory.
CarlosB
Forum Newbie
Posts: 10 Joined: Tue Mar 27, 2007 5:16 am
Post
by CarlosB » Mon Apr 02, 2007 5:20 am
It didn't work
I replaced it with the one for php4, but nothing happens when i run the php page! Any ideas of why that happens?
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Mon Apr 02, 2007 8:37 am
Do you get errors?
Code: Select all
<?php
error_reporting(E_ALL);
ini_set("display_errors", "On");