[wp-hackers] Plugins Receiving Emails
hempsworth at googlemail.com
Sat Aug 22 09:29:19 UTC 2009
I'll take a look. I'm guessing WP runs a cron to check for new mails every
so often? I need replies to be accepted pretty much ASAP, so would I just
have to run a cron every minute?!
-- Alex (Hempsworth)
On Thu, Aug 20, 2009 at 1:48 PM, Will Anderson <wp-hackers at itsananderson.com
> On Thu, Aug 20, 2009 at 6:25 AM, Alex Hempton-Smith <
> hempsworth at googlemail.com> wrote:
> > Thanks Frank,
> > I should have mentioned that I was aware of wp_mail(), that solved my
> > *sending* of mails, but receiving them is the bigger issue.
> > Cheers,
> > -- Alex (Hempsworth)
> > On Thu, Aug 20, 2009 at 11:18 AM, Frank Bueltge <frank at bueltge.de>
> > > wp_mail() is the mail-function in WP and habe all settings, hooks for
> > > custom mails.
> > > Frank
> If you look at the way post by email is set up, you'll notice that it's
> actually connecting to an external email server. WordPress certainly
> come with its own mail server. It simply connects to an external server and
> retrieves new messages.
> You can find the code in /wp-mail.php. It uses the
> /wp-includes/class-pop3.php file and the POP3 class. Should be easy enough
> to duplicate the code for your plugin.
> Will Anderson
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers