SRL Archive - Web Development

checking e-mail with php/JS


Awkwardsaw

2010-01-11 22:22:23

is it even possible to check e-mail from an e-mail server, like 00webost's?

if so, how? :(

i know there where threads about this, i just cant seem to find them

TRiLeZ

2010-01-11 23:32:41

You have to use php to connect to a pop3 mail server.

Sex

2010-01-12 01:23:44

I'm not sure about 000webhosts, maybe it will work, but the code to do so is pretty advanced.

Craig`

2010-01-12 02:05:18

In Ruby you can use Jabber to connect to GMail with ease, and there's alternatives for other messaging services; by the way, I'd mainly rely on PHP as JavaScript like I've said before, is disabled with ease (exception if this is solely for you), I'd recommend a library rather than pure JavaScript as it removes frustration (I've found.)

Frement

2010-01-12 02:39:42

From: TRiLeZ
You have to use php to connect to a pop3 mail server.


You sure they dont offer imap?

http://php.net/manual/en/book.imap.php

Awkwardsaw

2010-01-12 08:21:18

yeah, this stuff is way to advanced for me :(

thanks any ways guys, :D

jimthesoundman

2010-02-03 22:35:13

There might be a way to do this, but I need to know what your exact purpose is. Just saying "check email" doesn't really mean anything. Please narrow it down to one of the following:
1. I just need to know how many new messages are waiting for me on the email server.
2. I need an automated program to respond to all new messages that arrive on the mail server.
3. I need a program that performs a certain action when an email is received.
4. I need a program that compiles statistics on what email was received depending on who or where it was from.
5. I need a program that sorts the email and redelivers it to the appropriate person.

If you can narrow it down for me I might be able to come up with something.