What you MUST do first is to get the RFCs for SMTP and POP3. There are many sources - I like faqs.org http://www.faqs.org/rfcs/rfc2821.html - SMTP defined. (although 821 is still mostly correct) http://www.faqs.org/rfcs/rfc1939.html - POP3 defined (and 1081 is also still mostly correct) You can then practice these protocols by telneting to the server. On your favorite workstation just enter the command telnet servername 25 This opens a connection to port 25 which is defined as the port for SMTP. Really it is just an opened socket that you send and receive ASCII command over. Dan MSullivan wrote: >thanks Bob, > >how do I telnet into the SMTP/POP3 server? what is line input mode? > >----- Original Message ----- >From: "Robert Reimiller" >To: >Sent: Wednesday, January 21, 2004 1:48 AM >Subject: Re: [PIC:] SMTP, POP3 ? > > >On Wed, 21 Jan 2004 00:47:21 -0600, you wrote: > > >>Does anyone have experience with SMTP and POP3 email protocols ? >> >> >> >Yes. > > > >>I'm trying to write C code for the PIC 18F452 to negotiate the connection >> >> >to a server through an 802.11b wireless access point connection to the >internet. > >I'm assuming you know that a TCP connection is required, that's the hard >part. Beyond that, its just a text based conversation often done using >a state machine. The best place to start is to read the RFC's. Using the >RFC's you can simply telnet into the SMTP or POP server and issue commands >(you might need to use line input mode, don't remember) to get a feel for >how it all works. > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu