Pop3 fetching - almost done

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
assimil8
Posts: 4
Joined: Thu May 23, 2013 12:56 pm

Pop3 fetching - almost done

Post 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?
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Pop3 fetching - almost done

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
assimil8
Posts: 4
Joined: Thu May 23, 2013 12:56 pm

Re: Pop3 fetching - almost done

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Pop3 fetching - almost done

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
assimil8
Posts: 4
Joined: Thu May 23, 2013 12:56 pm

Re: Pop3 fetching - almost done

Post 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.
assimil8
Posts: 4
Joined: Thu May 23, 2013 12:56 pm

Re: Pop3 fetching - almost done

Post by assimil8 »

Had another bash at this, set debug=1 and got the following...

(REMOVED)

Does that help?

thanks
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Pop3 fetching - almost done

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Pop3 fetching - almost done

Post by Klemen »

P.s.: I removed your output because your email password was there in plain text. You may want to change it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply