Connecting Tech Pros Worldwide Help | Site Map

PHP Mail

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 11:28 AM
jrwr00@gmail.com
Guest
 
Posts: n/a
Default PHP Mail

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, 11:28 AM
Steven Stern
Guest
 
Posts: n/a
Default 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, 11:28 AM
JRWR
Guest
 
Posts: n/a
Default Re: PHP Mail

my hoster is on FreeBSD and no shell accesa

  #4  
Old July 17th, 2005, 11:29 AM
Colin Horne
Guest
 
Posts: n/a
Default 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, 11:29 AM
Manuel Lemos
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.