473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Move Attachments to a Folder Using System.Web.Mail

Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?

has anyone done this ?

Any help is appreciated.
Nov 20 '05 #1
8 1902
* "Ajit" <ad******@thedebtmediator.com> scripsit:
Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?


What code did you use to check for incoming mails using
'System.Web.Mail'?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de...
* "Ajit" <ad******@thedebtmediator.com> scripsit:
Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?


What code did you use to check for incoming mails using
'System.Web.Mail'?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3
I've been playing with this a lot recently.
Short answer is forget about System.Web.Mail.
There are a number of third party mail components that will greatly simplify
this process.
I had listed them in the question "POP3 Component Comparison" dated 6-15-04
(Which sadly I got no response to).
A list of just a few of the components I'm looking at are:
Mail.Net - www.abderaware.com
EasyMail.Net - www.quiksoft.com
IP*Works - www.nsoftware.com
Internet Mail - www.catalyst.com

The EasyMail one even has a couple samples that will pull mail from a server and
write directly to a file.

Gerald

"Ajit" <ad******@thedebtmediator.com> wrote in message
news:OL**************@tk2msftngp13.phx.gbl...
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de...
* "Ajit" <ad******@thedebtmediator.com> scripsit:
Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?


What code did you use to check for incoming mails using
'System.Web.Mail'?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Nov 20 '05 #4
* "Ajit" <ad******@thedebtmediator.com> scripsit:
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.


You will find some links at this document useful:

<URL:http://dotnet.mvps.org/dotnet/faqs/downloads/email.txt>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #5
Hi Herfried,

Thanks for the link it was of great help.

I managed to read the emails using POP3 and TCPclient
but is there anyway i can download attachements to a specific folders

has anyone done this or is there anyother way to this ?

We are against using 3-party components

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de...
* "Ajit" <ad******@thedebtmediator.com> scripsit:
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.


You will find some links at this document useful:

<URL:http://dotnet.mvps.org/dotnet/faqs/downloads/email.txt>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #6
* "Ajit" <ad******@thedebtmediator.com> scripsit:
Thanks for the link it was of great help.

I managed to read the emails using POP3 and TCPclient
but is there anyway i can download attachements to a specific folders

has anyone done this or is there anyother way to this ?


Attachments are embedded in the data your receive. All you need is a
MIME decoding routine that splits up the message into its
parts/attachments.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #7
Hi Herfried,

I am trying hard to find some tips to write MIME decoding routine but no
lucky.
do you know/have any tips or routine avaliable that can help me to seperate
Attachments from the emails.

I appreciate your help.

regards,

Ajit.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de...
* "Ajit" <ad******@thedebtmediator.com> scripsit:
Thanks for the link it was of great help.

I managed to read the emails using POP3 and TCPclient
but is there anyway i can download attachements to a specific folders

has anyone done this or is there anyother way to this ?


Attachments are embedded in the data your receive. All you need is a
MIME decoding routine that splits up the message into its
parts/attachments.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #8
* "Ajit" <ad******@thedebtmediator.com> scripsit:
I am trying hard to find some tips to write MIME decoding routine but no
lucky.
do you know/have any tips or routine avaliable that can help me to seperate
Attachments from the emails.


Untested:

<URL:http://www.codeproject.com/csharp/despop3client.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Bill | last post by:
I am trying to have the capability to email attachments. Specifically I want to be able to email a specific attachment that I name that may be a PDF document, text doc, etc. I already have a...
3
by: AspDotNetDeveloper | last post by:
I'm trying to troubleshoot why my ASP application can no longer send file attachments larger than 100K, and I have eliminated many possibilities already, but I'm running out of ideas. I think I...
0
by: Ajit | last post by:
Is there anyway to move attachments from a incoming email into a specified folder using System.Web.Mail ? has anyone done this ? Any help is appreciated.
2
by: Osiris Sawiris | last post by:
I inherited an Inventory control application that updates the stock from the branches at the end of each day. We receive the stock transactions via e-mail attachments (Excel Sheets). Those...
1
by: Trond A. S. Andersen | last post by:
Hi all, I'm working on a project in which i need to send mail attachments in the form of Excel documents from a .NET C# application. I've written a class which creates the Excel document using...
0
by: Ajit | last post by:
Is there anyway to move attachments from a incoming email into a specified folder using System.Web.Mail ? has anyone done this ? Any help is appreciated.
1
by: Max Bialystock | last post by:
Is it possible to take the first file in a folder (as sorted by name), email it to someone, then move the file to a separate directory? Any help at all will be much appreciated. Thanks, Max
4
by: Pieter | last post by:
Hi, On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server is not available. (Exception from...
2
by: Brad | last post by:
I have a web .Net app which sends emails with attachments. After the email is sent I clean up aftermyself and delete the attachments from disk. In upgrading to .Net 2 I changed the email logic...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.