RE: [PEAR] mail and installation

From: Date: Fri, 27 Feb 2004 15:10:40 +0000
Subject: RE: [PEAR] mail and installation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10997@lists.php.net to get a copy of this message
You may need to install the Mail_Mime package? --Joe > -----Original Message----- > From: julian haffegee [mailto:jules@killi.co.uk] > Sent: Friday, February 27, 2004 10:04 AM > To: pear-general@lists.php.net > Subject: Re: [PEAR] mail and installation > > > Hi stefan, > thanks > > I think I installed it correctly, but I am trying to run the > script here > http://www.phpfreaks.com/pear_manual/page/core.mail.mime.html > (scroll to the bottom of the page) > > and the problem lies with this bit > > include('Mail.php'); > include('Mail/mime.php'); > > > the fact is mime.php is not there!. mail.php is, the mail > folder is but NO mime.php > > so is my installation bad, or am I supposed to install this > seperately? > > I have searched the web, and other people have reported this, > but no one answered them! > > thanks > > Jules > > > > ----- Original Message ----- > From: "Stefan Neufeind" <stefan@neufeind.net> > To: "julian haffegee" <jules@killi.co.uk> > Cc: <pear-general@lists.php.net> > Sent: Friday, February 27, 2004 8:22 AM > Subject: Re: [PEAR] mail and installation > > > > Hi, > > > > you should install the packages via the PEAR-installer, if > possible. > > And if your installer is set up correctly it will > automatically know > > where to put the files. Try "pear config-show" at the prompt, which > > will show you the directory to which files from > PEAR-packages will be > > installed. After installing Mail you will find a mail.php in that > > directory and also a subdirectory "Mail" from there with > maybe several > > other files. All you need to do is > > > > require_once('Mail.php'); > > > > and then use the class :-)) You can find an introduction on the > > functionality of Mail in the official PEAR manual at the > PEAR website. > > > > > > If you have additional questions please feel free to mail > to the list. > > Hope it helps ... Good luck. > > > > Stefan > > > > On 27 Feb 2004 at 4:02, julian haffegee wrote: > > > > > I have set up pear locally on my (shared) server. I was hoping to > > > send some html emails, so I tried some code I found and > it suggested > > > I need mime.php (which was not in the mail folder). > > > > > > I downloaded mime.php from the pear site. Is that > correct, or did my > > > installation fail? I fully expected that file to already > be there? > > > So can I just upload mime.php, or should I delete the whole > > > installation and start again. There are a few other files > with it- > > > are they needed to (xmail.dtd etc)? > > > > > > Also can anyone point me to a decent tutorial on this? > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.general (#10997) next »