Error: Password error: [AUTH] Web login required: https://suppor

Recommend this page to a friend!

      POP3 e-mail client  >  All threads  >  Error: Password error: [AUTH] Web...  >  (Un) Subscribe thread alerts  
Subject:Error: Password error: [AUTH] Web...
Summary:Getting this error message from gmail pop server
Messages:3
Author:John Mamuscia
Date:2017-10-24 20:44:09
 

  1. Error: Password error: [AUTH] Web...   Reply   Report abuse  
Picture of John Mamuscia John Mamuscia - 2017-10-24 20:44:09
Hello, trying to get your pop3 class to work, I've read other forum users comments, but have not seen an answer for this. Any help would be appreciated.

Getting error:
Error: Password error: [AUTH] Web login required: https://support.google.com/mail/answer/78754

Using this code:
require("pop3.php");

/* Uncomment when using SASL authentication mechanisms */
/*
require("sasl.php");
*/

$pop3=new pop3_class;
$pop3->hostname="pop.gmail.com"; /* POP 3 server host name */
$pop3->port=995; /* POP 3 server host port,
usually 110 but some servers use other ports
Gmail uses 995 */
$pop3->tls=1; /* Establish secure connections using TLS */
$user="xxxxxxx"; /* Authentication user name */
$password="xxxxxxx"; /* Authentication password */
$pop3->realm=""; /* Authentication realm or domain */
$pop3->workstation=""; /* Workstation for NTLM authentication */
$apop=0; /* Use APOP authentication */
$pop3->authentication_mechanism="USER"; /* SASL authentication mechanism */
$pop3->debug=1; /* Output debug information */
$pop3->html_debug=1; /* Debug information is in HTML */
$pop3->join_continuation_header_lines=1; /* Concatenate headers split in multiple lines */

  2. Re: Error: Password error: [AUTH] Web...   Reply   Report abuse  
Picture of John Mamuscia John Mamuscia - 2017-10-24 21:19:46 - In reply to message 1 from John Mamuscia
Never mind, I got it working. I had to allow apps to access my email.
Sorry for the thread.

  3. Re: Error: Password error: [AUTH] Web...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2017-10-25 09:30:26 - In reply to message 2 from John Mamuscia
Good to know. It was weird to figure it was not working with Gmail because it was one of the main types of mail server people use to access with this class.

 

For more information send a message to info at phpclasses dot org.