Login   Register  
PHP Classes
elePHPant
Icontem

Dynamically changing connections

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      POP3 e-mail client  >  All threads  >  Dynamically changing connections  >  (Un) Subscribe thread alerts  
Subject:Dynamically changing connections
Summary:How i can fetch mails from multiple mailid at a time
Messages:4
Author:shrishail
Date:2011-01-05 12:05:39
Update:2012-01-10 00:28:12
 

  1. Dynamically changing connections   Reply   Report abuse  
Picture of shrishail
shrishail
2011-01-05 12:05:40
Sir,
I am using more than one mailid for my business purpose.So,i get mails from diffrent mailid.i want to fetch new mails from all mailid's using popmail class.
can i make dymamic connection in popmail class.
I will be greatful for your help.
thanks

  2. Re: Dynamically changing connections   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2011-01-06 02:17:34 - In reply to message 1 from shrishail
You can disconnect from a POP 3 server, set new server address and account credentials and connect again.

  3. Re: Dynamically changing connections   Reply   Report abuse  
Picture of Kyle Pierce
Kyle Pierce
2012-01-09 23:45:46 - In reply to message 2 from Manuel Lemos
I tried putting stream_close(); on my parser code and it didn't work. How can I close the pop3 connection at the end of the loop/before next loop?

  4. Re: Dynamically changing connections   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2012-01-10 00:28:12 - In reply to message 3 from Kyle Pierce
I am not sure what you mean. The POP3 class function to close connections is named Close() as you may see in the example scripts.