PHP Classes

applications of your pop3 class

Recommend this page to a friend!

      POP3 e-mail client  >  POP3 e-mail client package blog  >  How Can PHP Read Emai...  >  All threads  >  applications of your pop3 class  >  (Un) Subscribe thread alerts  
Subject:applications of your pop3 class
Summary:where and how to apply it?
Messages:10
Author:creet dree
Date:2014-05-01 08:45:35
Update:2014-05-20 22:26:54
 

  1. applications of your pop3 class   Reply   Report abuse  
Picture of creet dree creet dree - 2014-05-01 08:45:35
Can your class be applied in a real world environment where very many people have to access their mails on a server?
Is it better to use Imap?
can your class handle users of up to around 1billion?
how can i use it with Imap?

  2. Re: applications of your pop3 class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-01 13:40:29 - In reply to message 1 from creet dree
Sure. This is just mail client class. What has to be able to handle that many accounts is the mail server, not the mail client.

IMAP is a different protocol. It can be used mostly for the same things. Most mail servers support accessing mailboxes either via POP3 and IMAP.

  3. Re: applications of your pop3 class   Reply   Report abuse  
Picture of creet dree creet dree - 2014-05-09 06:31:11 - In reply to message 2 from Manuel Lemos
Ok.But how can I configure your class to connect to my mailserver??
eg If i have a user in the database called "Tryer" with password "tried",how can this user be able to access his inbox mails and also send mails say to root user account.

  4. Re: applications of your pop3 class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-09 10:24:33 - In reply to message 3 from creet dree
This class can only retrieve received emails connecting to a POP3 server. It does not support servers that only provide access via IMAP protocol.

Many servers support both IMAP and POP3. Check if it is the case of your server.

For sending email you need to use another class like for instance the MIME Email message class:

phpclasses.org/mimemessage

  5. Re: applications of your pop3 class   Reply   Report abuse  
Picture of creet dree creet dree - 2014-05-09 11:44:08 - In reply to message 4 from Manuel Lemos
ok .my server does support pop3, how can I get the emails of a user "try"with password "tried ".these are stored in a database.and i can see their in boxes physically on disk.

  6. Re: applications of your pop3 class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-09 17:12:57 - In reply to message 5 from creet dree
Just take a look at the test_pop3.php example script. It is self explanatory.

  7. Re: applications of your pop3 class   Reply   Report abuse  
Picture of creet dree creet dree - 2014-05-17 20:54:20 - In reply to message 6 from Manuel Lemos
But it is telling me:
S -ERR Authentication failed.
Error: Password error: Authentication failed.
what could be the problem?

  8. Re: applications of your pop3 class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-17 21:05:43 - In reply to message 7 from creet dree
That is because you are not passing the correct user name or password as the error message suggests.

  9. Re: applications of your pop3 class   Reply   Report abuse  
Picture of creet dree creet dree - 2014-05-20 21:56:17 - In reply to message 8 from Manuel Lemos
but that is what they are in my database.Is it the dove cot configuration issue?Because at the terminal I can really send messages to all those inside the database as root@me.localhost

  10. Re: applications of your pop3 class   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-05-20 22:26:54 - In reply to message 9 from creet dree
Sending messages and receiving is totally independent.

Anyway, some servers require that the user name has the domain name others don't. Maybe that is your issue.