Re: mail and installation
| From: | Stefan Neufeind | Date: | Fri, 27 Feb 2004 08:22:55 +0000 |
| Subject: | Re: mail and installation | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10987@lists.php.net to get a copy of this message | ||
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?