Tutorial :Script to download email from Gmail and save to a SQL server?


Does anyone know of a script to download email from Gmail and store it to a SQL server? (for backup purposes)

I am looking for a .NET solution (C#).


It would be pretty easy to write one yourself. Just connect via IMAP of Pop3 (there's .NET libraries for that already) then download the emails, and stick them in your database. A program like that would take an hour to write, tops, unless you require more features.


Gmail supports POP3, you can use this .NET client and get the emails that way, putting them in the database is trivial at that point:


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »