Thursday, July 26, 2012 1:20 PM
Now I can send e-mail but how do I get them from the smtp server?
eg Gmail or Hotmail
Friday, July 27, 2012 4:19 PMCan you explain a little more? Is your requirement to view emails within your LS application?
Friday, July 27, 2012 5:38 PM
From the Wikipedia SMTP article:
"While electronic mail servers and other mail transfer agents use SMTP to send and receive mail messages, user-level client mail applications typically only use SMTP for sending messages to a mail server for relaying. For receiving messages, client applications usually use either the Post Office Protocol (POP) or the Internet Message Access Protocol (IMAP) or a proprietary system (such as Microsoft Exchange or Lotus Notes/Domino) to access their mail box accounts on a mail server."
While the .NET Framework has SMTP support built-in, I do not believe it has support for POP or IMAP without a third party plugin.
Friday, July 27, 2012 6:45 PM
Sorry I missed the protocol.
but what I need is to connect the gmail and download all the messages I get.
Friday, July 27, 2012 7:03 PM
Well, it's not my place to question the requirement - I was just wondering if there is another way to solve the problem you are trying to address. RSSBus has a connector for Google that you would need to purchase but it would make retrieving the data quite easy.
There are many knowledgeable people that contribute to the forum and I'm sure you could wire up something that does what this connector does but with my limited experience, the RSSBus route would be my choice.
Sorry I couldn't help more.
Saturday, July 28, 2012 2:05 AM
Thanks helped a lot
if anyone knows if the. net framework has this feature, please tell us
Saturday, July 28, 2012 4:06 AM
OpenPop.Net is a good .net library. In a server side logic, you can connect to smtp server with openpop client and view headers, filter headers, and download emails.
- Marked As Answer by Marden LR Saturday, July 28, 2012 6:53 AM
Saturday, July 28, 2012 6:53 AMTanks William :)