Re: Talking to mail.yahoo.com from Cocoa program
Re: Talking to mail.yahoo.com from Cocoa program
- Subject: Re: Talking to mail.yahoo.com from Cocoa program
- From: Peter Fischer <email@hidden>
- Date: Sat, 25 Jan 2003 07:59:40 -0500
Alexander-
I don't think your question involves Cocoa, as it does how to talk
http. I've found the best place to look for information on things like
http, ftp, smtp, etc is through RFC's.
Check out
http://rfc.sunsite.dk & look at numbers 2616 and 2617. This
should get you started in the right direction.
--Pete
On Friday, January 24, 2003, at 09:29 PM, Alexander Dvorak wrote:
I would like to create Cocoa programs that can access information on
the internet. Here are two examples,
1. Writing a program that connects to yahoo's mail server, logs in to
my account, forwards my email to another email account, and puts my
email content into a variable that I can read and then display in my
program.
2. Writing a program that connects to a weather server on the
internet, finds information on the current weather of a particular
city, puts this information into a variable that I can read and display
in my program.
So far I have figured out that I will have to create two sockets
(client and server) and have them communicate with each other. My
program is the client socket and mail.yahoo.com is the server socket.
Once I have created these two sockets (I am taking code from Beej's
Guide to Network Programming), what should my client say to the server?
Which commands will yahoo mail understand? When yahoo mail responds,
what is the format that they will answer in?
If anyone has any experience in doing this in Cocoa, I would appreciate
any help. Thank you in advance.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.