Auriga Posted January 17, 2007 Share Posted January 17, 2007 Hey!I'd like to use a special php class that will make it easier to send mail. I've downloaded the class from http://www.phpguru.org/static/mime.mail.htmlHowever, it seems that i cannot use it in my project for some reason. I get an error on line 30:<?php/*** This file is part of the htmlMimeMail5 package (http://www.phpguru.org/)** htmlMimeMail5 is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software Foundation; either version 2 of the License, or* (at your option) any later version.** htmlMimeMail5 is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the* GNU General Public License for more details.** You should have received a copy of the GNU General Public License* along with htmlMimeMail5; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA* * © Copyright 2005 Richard Heyes*/require_once(dirname(__FILE__) . '/mimePart.php');class htmlMimeMail5{ /** * The html part of the message * @var string */ private $html; <--- here the error will comeIt appears that the compiler has some trouble with the private directive? My question: do i need to have something installed to use this kind of class (something like PHP Pear or so)? Or is there another problem with it?Thank you! Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted January 17, 2007 Share Posted January 17, 2007 maybe you are using php4, private, public is not is implemented in php4.. Quote Link to comment Share on other sites More sharing options...
Auriga Posted January 17, 2007 Author Share Posted January 17, 2007 [quote]maybe you are using php4, private, public is not is implemented in php4..[/quote]That seems to be the case... I'm using PHP 4.4.4... Thank you, i will upgrade asap! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.