Click here to Skip to main content
15,896,514 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am doing a project using wcf, I want when have new mail from database, application will display it on destop,
My application using wcf, and I don't know how to client can auto to request to server thought service to check new mail?
it is like gadget, but my application communication by service wcf.
Can you help me some solution for this? thank very much, sory for english of me.
Posted

How about starting by learning about WCF?

http://www.wcftutorial.net/[^]
http://msdn.microsoft.com/en-us/library/dd456779.aspx[^]

(do a Google search, there will be many more)
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Jan-11 11:44am    
Difficult advice for majority of inquirers :-)
My 5,
--SA
You can either check for new email at specific time intervals (from your WCF service). I reckon you'd need to use POP3 or IMAP (as is available).

Alternatively, have a service run elsewhere that your desktop service connects to. Have this service do the email polling and when there's new email, use a callback to communicate this back to your desktop service. That'd work too and would also free up your desktop service from doing too much unnecessary polling.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 26-Jan-11 11:45am    
My 5. Polling is evil, but e-mail is such e-mail... :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900