Hello, ----- Original Message ----- From: "MSullivan" To: Sent: Wednesday, January 21, 2004 6:00 AM Subject: Re: [PIC:] SMTP, POP3 ? > Olin, > > thanks for responding.... > > specifically.. how to negotiatate (or figure out how to negotiate) the > connection to the mail server ? > I have a PIC board with an 802.11b wireless card on it, and I have a > wireless access point router connected to the internet through a cable > modem. I can communicate to the PIC card using a PC with a wireless card > on it, that goes through the access point (with TCP/IP). How do I > negotiate the connection with the mail sever, from the PIC board...through > the router? Will I have to send out IP addresses, passwords etc...... and > what responses will I get and need to respond to? How do I determine that? So far, two people have said that the best source are RFC's. It would be far more efficient for YOU to read the RFC's to determine exactly what you need to do rather than relying on someone to walk you through step-by-step. To make it easy, you can resolve the POP/SMTP server domain to an IP address beforehand and use that to connect. Otherwise, you'll have to implement a DNS client. Once you have the IP address, for POP3, you would initiate (3 way handshake) a connection to port 110 of the remote machine. Then, you proceed to send the necessary commands. This will take a bit of coding on your part. For POP3, the aforementioned RFC is RFC1939: http://www.networksorcery.com/enp/rfc/rfc1939.txt For SMTP, RFC821: http://www.faqs.org/rfcs/rfc821.html -Tim > > Thanks, > > Mark Sullivan > msulli@insightbb.com > > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu