Writing an e-mail program to go to gmail, get e-mails and download attachments automatically.

  • Thread starter Thread starter Mufasa
  • Start date Start date
M

Mufasa

Does anybody have any code that would go out to an e-mail account (I'm using
g-mail), get the e-mails and if there are any attachments, get those and
save them on the local hard drive?

I don't need a fancy user interface, I just need the guts of this.

I want a program that runs in the background that I could then have just
populating the hard drive with the attachments.

TIA - Jeff.
 
Mufasa,

I'm not sure, but I think that google mail allows for access through
POP3 (I could be wrong here, but I seem to remember it somewhere).

If that is the case, then you should be able to find a POP3 client
component which you can use to download the messages and attachments.

Just searching google, I found this:

http://www.codeproject.com/useritems/Pop3MailClient.asp

But there are more (I searched for "POP3 .NET client").

Hope this helps.
 
Thanks. I had already found that and downloaded it. I just haven't looked at
it yet.

J.

Nicholas Paldino said:
Mufasa,

I'm not sure, but I think that google mail allows for access through
POP3 (I could be wrong here, but I seem to remember it somewhere).

If that is the case, then you should be able to find a POP3 client
component which you can use to download the messages and attachments.

Just searching google, I found this:

http://www.codeproject.com/useritems/Pop3MailClient.asp

But there are more (I searched for "POP3 .NET client").

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mufasa said:
Does anybody have any code that would go out to an e-mail account (I'm
using g-mail), get the e-mails and if there are any attachments, get
those and save them on the local hard drive?

I don't need a fancy user interface, I just need the guts of this.

I want a program that runs in the background that I could then have just
populating the hard drive with the attachments.

TIA - Jeff.
 
I looked at that program and it just get's the raw e-mail. I don't know how
to deal with the attachments which is what I'm really after.

J.

Mufasa said:
Thanks. I had already found that and downloaded it. I just haven't looked
at it yet.

J.

Nicholas Paldino said:
Mufasa,

I'm not sure, but I think that google mail allows for access through
POP3 (I could be wrong here, but I seem to remember it somewhere).

If that is the case, then you should be able to find a POP3 client
component which you can use to download the messages and attachments.

Just searching google, I found this:

http://www.codeproject.com/useritems/Pop3MailClient.asp

But there are more (I searched for "POP3 .NET client").

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Mufasa said:
Does anybody have any code that would go out to an e-mail account (I'm
using g-mail), get the e-mails and if there are any attachments, get
those and save them on the local hard drive?

I don't need a fancy user interface, I just need the guts of this.

I want a program that runs in the background that I could then have just
populating the hard drive with the attachments.

TIA - Jeff.
 
Back
Top