Connecting Tech Pros Worldwide Help | Site Map

PHP Mail

  #1  
Old July 17th, 2005, 12:28 PM
jrwr00@gmail.com
Guest
 
Posts: n/a
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

  #2  
Old July 17th, 2005, 12:28 PM
Steven Stern
Guest
 
Posts: n/a

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
  #3  
Old July 17th, 2005, 12:28 PM
JRWR
Guest
 
Posts: n/a

re: PHP Mail


my hoster is on FreeBSD and no shell accesa

  #4  
Old July 17th, 2005, 12:29 PM
Colin Horne
Guest
 
Posts: n/a

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

  #5  
Old July 17th, 2005, 12:29 PM
Manuel Lemos
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
applying stylesheet for a php mail pradeepjain answers 5 September 27th, 2008 01:48 PM
PHP mail glady answers 10 November 8th, 2006 08:53 PM
Why PHP Mail Not Sent Vic Spainhower answers 12 January 24th, 2006 02:15 AM
php mail() function does nothing tencip answers 1 September 20th, 2005 02:35 AM
PHP mail() on Server2003 Uses Odd Ports Tim Tyler answers 0 July 17th, 2005 03:10 AM