PHP Classes

POP before SMTP

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  POP before SMTP  >  (Un) Subscribe thread alerts  
Subject:POP before SMTP
Summary:How to overcome POP before SMTP restriction with SMTP E-mail
Messages:6
Author:Antonio Sadek
Date:2010-03-04 19:22:56
Update:2010-03-16 17:14:25
 

  1. POP before SMTP   Reply   Report abuse  
Picture of Antonio Sadek Antonio Sadek - 2010-03-04 19:22:56
Hello Manuel,

First of all, let me congratulate you on a job greatly done developing this class. Is is very useful and easy to implement. I have a question on how could I use this class to overcome the POP before SMTP restriction in my webserver. I can see that the smtp class has some variables related to pop authentication, but I can't seem to make them work. Also I don't know if using the pop implementation would resolve the POP before SMTP issue.

Perhaps you have an example code I could look at?

Thank you very much!

Regards,

Antonio

  2. Re: POP before SMTP   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2010-03-05 02:25:26 - In reply to message 1 from Antonio Sadek
You just need to set the pop3_auth_host variable to the POP 3 server address and set the user and password variables to the POP 3 account user and password.

  3. Re: POP before SMTP   Reply   Report abuse  
Picture of Antonio Sadek Antonio Sadek - 2010-03-05 15:27:10 - In reply to message 2 from Manuel Lemos
Ok Manuel, so it's that easy!! OK I'll try it!

Regards,

Antonio

  4. Re: POP before SMTP   Reply   Report abuse  
Picture of Antonio Sadek Antonio Sadek - 2010-03-12 18:08:28 - In reply to message 3 from Antonio Sadek
Hi Manuel,

I tried what you told me but I get an:

530-5.5.1 Authentication Required

error, do you know why could this be?

Thank you for all your help

Regards,

Antonio

  5. Re: POP before SMTP   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2010-03-14 02:44:34 - In reply to message 4 from Antonio Sadek
I would not be so sure if it is POP before SMTP authentication that the server is requesting.

Anyway, it is hard to tell without seeing what is going on. Can you please try running your script again with the debug enabled and show the debug output?

Make sure you change your password before and after doing that, so you do not disclose your password here.

  6. Re: POP before SMTP   Reply   Report abuse  
Picture of Antonio Sadek Antonio Sadek - 2010-03-16 17:14:25 - In reply to message 5 from Manuel Lemos
Thank you Manuel,

I did what you told me and looked at the debug output, searching a little bit in internet I figured out it was a matter of configuring correctly the SSL flag, and the pop and smtp ports for this kind of server with POP before SMTP restriction.

It all worked out smoothly, so thank you again for all your help! and sorry to have been bothering you with all these things.

Regards,

Antonio