Page 1 of 1

Pop3 fetching - almost done

Posted: Thu May 23, 2013 1:01 pm
by assimil8
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

been trying to set up pop3 fetching on a gmail account. i've got as far as running support.assimil8.com/inc/mail/hesk_pop3.php but it seems to just freeze.

i've activated debugging in the settings, and i get the following:

Connected to the POP3 server "pop.gmail.com".
User "support@assimil8.com" logged in.
There are 11 messages in the mail box with a total of 41677 bytes.
Parsing message 1 of 11.


This is a bit strange as there only appears to be two unread emails in the mailbox.

I've checked that permissions on the page and they show 755.

what can I do now?

Re: Pop3 fetching - almost done

Posted: Sat May 25, 2013 5:31 pm
by Klemen
Login to Gmail, go to Settings and on the Forwarding and POP/IMAP tab make sure you have
Enable POP for mail that arrives from now on
And NOT this option:
Enable POP for all mail (even mail that's already been downloaded)
This way Google will not send mail already read over POP3.

Re: Pop3 fetching - almost done

Posted: Tue May 28, 2013 11:31 am
by assimil8
hi
thanks for this. I get what you mean, the account was only set up a day before the issue.

I've reset gmail to show POP3 should apply only for subsequent emails. but it's still not working.

the log page shows
Connected to the POP3 server "pop.gmail.com".
User "support@assimil8.com" logged in.
There are 1 messages in the mail box with a total of 4305 bytes.
Parsing message 1 of 1.
Email settings on my helpdesk
ยป POP3 Fetching
POP3 Fetching: [?]
OFF | ON

POP3 Host: Pop.gmail.som
POP3 Port: 995
TLS Protocol: OFF | ON

Getting to the end of my tether now. what should i do next?

Thanks for your help

Re: Pop3 fetching - almost done

Posted: Tue May 28, 2013 6:46 pm
by Klemen
It just stops at "Parsing message 1 of 1."? Nothing more, no errors or anything?

Do you see any new folders with random names created inside your "attachments" folder when you run the POP3 fetch script?

If yes, are these folders empty or do they contain any files?

Re: Pop3 fetching - almost done

Posted: Mon Jul 08, 2013 1:34 pm
by assimil8
yeah, it just hangs. weird. it seems to want to connect but then it stops.

the attachments folder is empty except for a file called index.htm

hope you can help. is there anything else you need to know.

Re: Pop3 fetching - almost done

Posted: Mon Jul 08, 2013 1:41 pm
by assimil8
Had another bash at this, set debug=1 and got the following...

(REMOVED)

Does that help?

thanks

Re: Pop3 fetching - almost done

Posted: Mon Jul 08, 2013 2:13 pm
by Klemen
Are you using original Hesk files? The email contents shouldn't be echoed even with debug mode set to 1.

Try uploading the entire "inc" folder to your help desk again.

Re: Pop3 fetching - almost done

Posted: Mon Jul 08, 2013 2:16 pm
by Klemen
P.s.: I removed your output because your email password was there in plain text. You may want to change it.