Talking to mail.yahoo.com from Cocoa program
Talking to mail.yahoo.com from Cocoa program
- Subject: Talking to mail.yahoo.com from Cocoa program
- From: Alexander Dvorak <email@hidden>
- Date: Fri, 24 Jan 2003 21:29:51 -0500
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.