Roundcube Community Forum

SVN Releases => Issues & Bugs => Pending => Topic started by: bare on March 19, 2009, 11:59:09 AM

Title: protocols for webmail
Post by: bare on March 19, 2009, 11:59:09 AM
Hi,
I am developing a webmail for a research project.
I am however confused about the protocols that i have to use.
If anyone has helpful information that i can use to do this job, i will gladly appreciate it.
Title: protocols for webmail
Post by: Julius Caesar on March 19, 2009, 05:26:18 PM
To access a mailbox you can use to different protocols:

POP3 and IMAP.

If you don't retrieve the email and store it in a database, the only usable protocol is IMAP. With this protocol, the mail stays in the mailbox.

Please use a search engine or a good book for more information about these protocols.
Title: protocols for webmail
Post by: bare on March 20, 2009, 09:55:54 AM
Thank you, what about sending mails to webmail server.
Title: protocols for webmail
Post by: rosali on March 20, 2009, 10:04:39 AM
There is no "webmail" server.

To send mails you need a SMTP service (SMTP Protocol).
To access a mailbox you need a POP3 or an IMAP service (POP3/IMAP Protocol).

A Webmailer is just a web-based interface accessible by HTTP(s) Protocol to communicate with SMTP/POP3/IMAP services.
Title: protocols for webmail
Post by: bare on March 20, 2009, 10:19:24 AM
How does the webmailer client communicate with the smtp/imap/pop3 services.
Does it embed the smtp/pop3/imap commands in an html file and send it as http to a web browser
Title: protocols for webmail
Post by: Julius Caesar on March 20, 2009, 10:32:28 AM
Quote from: bare;17906
How does the webmailer client communicate with the smtp/imap/pop3 services.
Does it embed the smtp/pop3/imap commands in an html file and send it as http to a web browser

Normally using functions from a additional (server side) language like php, jsp, asp or aspx.

Try this (http://nl3.php.net/manual/en/book.imap.php) for more information.
Title: protocols for webmail
Post by: rosali on March 20, 2009, 10:52:15 AM
I think it's enough now. No offense, but this forum is no tutorial for web programming.
Title: protocols for webmail
Post by: bare on March 20, 2009, 11:37:40 AM
Another question,
I captured the trace for for yahoo and gmail and all the email packets were sent using SSL and TLS. can i develop these webmail application without SSL and TLS features. I am developing this application on a bare machine(i.e no OS required to run the application) and i do not have TLS yet.
Title: protocols for webmail
Post by: christina2009 on August 10, 2009, 04:10:59 AM
Quote from: rosali;17905
There is no "webmail" server.

To send mails you need a SMTP service (SMTP Protocol).
To access a mailbox you need a POP3 or an IMAP service (POP3/IMAP Protocol).

A Webmailer is just a web-based interface accessible by HTTP(s) Protocol to communicate with SMTP/POP3/IMAP services.

I'm very interested! I would love to find out more inforamtion related to this topic. Thanks in advance.
me too, I need more detailed info
Title: protocols for webmail
Post by: Julius Caesar on August 10, 2009, 04:20:47 AM
Quote from: christina2009;20474
I'm very interested! I would love to find out more inforamtion related to this topic. Thanks in advance.
me too, I need more detailed info

Check out the RFC's:

RFC 2821 (rfc2821) - Simple Mail Transfer Protocol (http://www.faqs.org/rfcs/rfc2821.html)
RFC 3501 (rfc3501) - INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1 (http://www.faqs.org/rfcs/rfc3501.html)
RFC 1939 (rfc1939) - Post Office Protocol - Version 3 (http://www.faqs.org/rfcs/rfc1939.html)
RFC 2818 (rfc2818) - HTTP Over TLS (http://www.faqs.org/rfcs/rfc2818.html)