|
Posted by Carl on 12/30/05 00:55
Damian Burrin wrote:
> Hi guys,
>
> I'm running a purrly smtp mail server and am trying to create a webmail
> function to read the email stored in the mailboxes.
>
> Looking at some of the demos on line i've seen plenty for reading from pop3
> and imap servers but can't find anything for smtp.
>
> Sending email via the mail() function using smtp is fairly straight forward.
> Anyone got any pointers on where to look for actually connecting to an smtp
> mailserver to read mail?
>
> For reference the mail server is Terrapin Multinet 1.3
>
> Cheers
>
> Damian
>
Damian,
The SMTP ,Simple Mail Transfer Protocol, is a mail transport and
delivery protocol. It does not define any commands for reading mail.
Most SMTP servers, when they receive a message where they are the final
destination will then place the message in a message store which should
then be accessed by a mail user agent (MUA) like a pop or imap server.
In order to read mail, you would normally access one of these servers
which accesses the mail store created by your smtp server.
See rfc2821 for more details on the simple mail transfer protocol
(particularly section 2.3.3).
http://www.faqs.org/rfcs/rfc2821.html
Cheers,
Carl.
Navigation:
[Reply to this message]
|