Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 22nd, 2008, 12:11 AM
Registered User
 
Join Date: Aug 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading a E-mail

Hi there,
Has any body written a code to read a email containing a attachment zip file. If so pl help me.
Dayan

dayancode
 
Old August 22nd, 2008, 02:55 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Where is the email stored? Is it in a file, or still on the server? Are you using POP3, IMAP or talking directly to an Exchange server?

The most likely solution is to do a quick search for POP3 and C# and find the CodeProject web site that details how to read MIME encoded emails via POP3.

http://www.codeproject.com/KB/IP/despop3client.aspx

/- Sam Judson : Wrox Technical Editor -/
 
Old August 22nd, 2008, 08:02 AM
Registered User
 
Join Date: Aug 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Sam Judson,

It was nice to here...ur quick reply.:):)
Since u have asked "Where is the email stored? Is it in a file, or still on the server?" I would like to tell u much more.
In my case Branches of the company sending zip files via E-mail and now using the c# program need to read that zip file and download from the Inbox of the Gmail to a folder.
So the zip file is in the Gmail inbox and reading and downloading to a folder is the problem I have.

Ur Link was good but the source code is in a Old version Visual Studio 2002. Converting making a error.

Best Rgds.,
Dayan

dayancode
 
Old August 22nd, 2008, 08:22 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Can I recommend you try googling for further solutions - I have found plenty of implementation using POP3 in the past, so I know they are out there.

/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
Sending e-mail to different mail box! Calibus Classic ASP Databases 4 September 3rd, 2004 05:48 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.