PHP Mail

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I would like to make a script where i would get all the emails form a
POP# account and send it all to a email

what code would i use to do this

Re: PHP Mail

On 12 Feb 2005 07:43:08 -0800 (more or less), wrote:

Quoted text here. Click to load it

If you're on a unix system, why reinvent the wheel?

    man fetchmail

Re: PHP Mail

my hoster is on FreeBSD and no shell accesa

Re: PHP Mail

Run a packet sniffer (think ethereal) while you check your emails on a
normal mail client. That's the best way to get a quick understanding of
the pop3 protocol (either that, or google for it).

Then you can use fsockopen() to connect to the server. There's probably
a nice script to do it for you on PEAR or suchlike.

--Colin Horne

Re: PHP Mail


on 02/12/2005 01:43 PM said the following:
Quoted text here. Click to load it

Try this POP3 client class:


Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP /

PHP Reviews - Reviews of PHP books and other products /

Metastorage - Data object relational mapping layer generator

Site Timeline