Re: [Hampshire] Sending mail from PHP

Top Page

Reply to this message
Author: Samuel Penn
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Sending mail from PHP
On Tuesday 12 June 2007 10:12, Daniel Pope wrote:
> Samuel Penn wrote:
> > On Sunday 10 June 2007 18:35, Samuel Penn wrote:
> >> Hi,
> >>
> >> I'm trying to set up DokuWiki to send email on my OpenBSD box, and I'm
> >> running into some issues which look like they're PHP related. So, if
> >> anyone with PHP knowledge could help, I'd be grateful.
> >
> > To answer my own email, it looks like PHP requires a shell to be
> > around in order to perform an exec, and OpenBSD doesn't include
> > sh in the chroot. Sticking sh into the chroot sort of fixed that
> > problem, though I don't think I like sh being in there.
>
> Mark Allman/Sparky^, who occassionally pops in here, swears by a library
> called PHPMailer[1], which comprises wrapper classes for composing
> RFC(2)822 and MIME emails and makes it simple to send via SMTP.


Okay, that looks interesting, thanks. I may take a look at that this
weekend.


-- 
Be seeing you,                         http://www.glendale.org.uk
Sam.                        Mail/IM (Jabber): sam@???