You are not logged in.

#1 2008-12-04 14:18:44

CaspianXI
Member
Registered: 2007-05-29
Posts: 59

PHP scripts accessing pop3 on shared hosting

I'm trying to create a PHP script (or a script in any language will do what I wan...) which needs to be able to read and parse sent to a specific email account. Unfortunately, it seems that scripts aren't able to log into pop3 servers when run on an account without a dedicated IP (such as is the case with shared hosting).

Is there any way to get around this problem? (Am I just doing something wrong?)

Thanks smile.

Offline

#2 2008-12-04 21:57:48

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: PHP scripts accessing pop3 on shared hosting

Does it have to be self-contained? Could you use fetchmail to get the mail (works fine with my shared host) and then just parse the mbox file in /var/spool/mail (depending what MTA you have setup)?

Offline

#3 2008-12-05 16:35:39

frip
Member
Registered: 2008-08-10
Posts: 10

Re: PHP scripts accessing pop3 on shared hosting

Could you post some error messages?

I'm using a script to fetch all messages from my different mail accounts and then append them to my master mail account. I had no problems connecting to pop3 accounts.

Btw, what do you exactly want to do? (Sorry, I'm no native English speaker and didn't quite understand the purpose of your script)

Offline

Board footer

Powered by FluxBB