problems sending mails

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 »

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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

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 »

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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Do you get errors?

Code: Select all

<?php

error_reporting(E_ALL);
ini_set("display_errors", "On");
Post Reply