Connecting Tech Pros Worldwide Help | Site Map

PHP Mail

jrwr00@gmail.com
Guest
 
Posts: n/a
#1: Jul 17 '05
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

Steven Stern
Guest
 
Posts: n/a
#2: Jul 17 '05

re: PHP Mail


On 12 Feb 2005 07:43:08 -0800 (more or less), jrwr00@gmail.com wrote:
[color=blue]
>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[/color]

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

man fetchmail
JRWR
Guest
 
Posts: n/a
#3: Jul 17 '05

re: PHP Mail


my hoster is on FreeBSD and no shell accesa

Colin Horne
Guest
 
Posts: n/a
#4: Jul 17 '05

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.

Cheers
--Colin Horne

Manuel Lemos
Guest
 
Posts: n/a
#5: Jul 17 '05

re: PHP Mail


Hello,

on 02/12/2005 01:43 PM jrwr00@gmail.com said the following:[color=blue]
> 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[/color]

Try this POP3 client class:

http://www.phpclasses.org/pop3class


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Closed Thread