473,406 Members | 2,707 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,406 software developers and data experts.

Grabbing Emails

Hello,

I am working on a new project where I need to:
1. open an email and then create an xml file from the email
2. open the xml file and parse the information.

I would like to be able to do the second step using a web page and then
duplicate it with a Windows Service. Does anybody know of some good links
on how to get started on something like this. I haven't created a Windows
Service before, so this will be new to me.

Thanks, sck10
Sep 8 '06 #1
5 1429
"sck10" <sc***@online.nospamwrote in message
news:Om**************@TK2MSFTNGP02.phx.gbl...
I would like to be able to do the second step using a web page and then
duplicate it with a Windows Service. Does anybody know of some good links
on how to get started on something like this.
1) Launch your Internet brower (e.g. IE, FireFox, Netscape, Opera, Mozilla
etc)

2) Navigate to http://www.google.com

3) Enter the text below in the box:

"C#" "windows service" tutorial

4) Hit the button
Sep 8 '06 #2
sck10,

Reading emails can be challenging. There are 3rd party tools for talking to
email servers to download emails, and there are 3rd part tools for parsing
emails.

Searching for "pop3 mime c#" should give a few reasonable hits.

One important feature is a decent debug mode. Diagnosis why a connection to
an email server isn't working can be challenging... having a debug mode that
shows the underlying protocol conversation is huge help.

There are some "gotcha's" with reading emails... it is not as simple as
Outlook makes it appear. The MIME standard is very very very very flexible.

Typically an email is sent either plain text or MIME. Plain text emails are
easy. MIME emails typically include one, two or more parts. It is not
unusual to see a plain text part and an html part. EMails with attachments
are always mime, and typical contain the plaintext/html portions in sort of
a sub message.

Outlook RTF format is not so bad anymore... there is generally a plain text
version of the message sent along as well. Outlook RTF format with embeded
attachments (eg. screen shots) are difficult to parse.

Good luck,

Rob MacFadyen

"sck10" <sc***@online.nospamwrote in message
news:Om**************@TK2MSFTNGP02.phx.gbl...
Hello,

I am working on a new project where I need to:
1. open an email and then create an xml file from the email
2. open the xml file and parse the information.

I would like to be able to do the second step using a web page and then
duplicate it with a Windows Service. Does anybody know of some good links
on how to get started on something like this. I haven't created a Windows
Service before, so this will be new to me.

Thanks, sck10

Sep 8 '06 #3
Thanks Rob. Appreciate the help...
"Rob MacFadyen" <rmacfadyen_at_gmail.comwrote in message
news:eD**************@TK2MSFTNGP03.phx.gbl...
sck10,

Reading emails can be challenging. There are 3rd party tools for talking
to email servers to download emails, and there are 3rd part tools for
parsing emails.

Searching for "pop3 mime c#" should give a few reasonable hits.

One important feature is a decent debug mode. Diagnosis why a connection
to an email server isn't working can be challenging... having a debug mode
that shows the underlying protocol conversation is huge help.

There are some "gotcha's" with reading emails... it is not as simple as
Outlook makes it appear. The MIME standard is very very very very
flexible.

Typically an email is sent either plain text or MIME. Plain text emails
are easy. MIME emails typically include one, two or more parts. It is not
unusual to see a plain text part and an html part. EMails with attachments
are always mime, and typical contain the plaintext/html portions in sort
of a sub message.

Outlook RTF format is not so bad anymore... there is generally a plain
text version of the message sent along as well. Outlook RTF format with
embeded attachments (eg. screen shots) are difficult to parse.

Good luck,

Rob MacFadyen

"sck10" <sc***@online.nospamwrote in message
news:Om**************@TK2MSFTNGP02.phx.gbl...
>Hello,

I am working on a new project where I need to:
1. open an email and then create an xml file from the email
2. open the xml file and parse the information.

I would like to be able to do the second step using a web page and then
duplicate it with a Windows Service. Does anybody know of some good
links on how to get started on something like this. I haven't created a
Windows Service before, so this will be new to me.

Thanks, sck10


Sep 8 '06 #4
Hi sck10,

For windows service information and tutorial, you may refer to following
MSDN library and the linked documents in it:

#Introduction to Windows Service Applications
http://msdn2.microsoft.com/en-us/library/d56de412.aspx

I hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 12 '06 #5
Thanks Walter...

"Walter Wang [MSFT]" <wa****@online.microsoft.comwrote in message
news:Vx**************@TK2MSFTNGXA01.phx.gbl...
Hi sck10,

For windows service information and tutorial, you may refer to following
MSDN library and the linked documents in it:

#Introduction to Windows Service Applications
http://msdn2.microsoft.com/en-us/library/d56de412.aspx

I hope this helps. Please feel free to post here if anything is unclear.

Sincerely,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your
reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.

Sep 12 '06 #6

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

Similar topics

5
by: simonc | last post by:
I've been programming in assembler and C/C++ for a number of years, but I'm only just starting down the road of PHP & MYSQL. I have a couple of questions: (1) Before I start writing my own...
1
by: dan glenn | last post by:
I'm creating HTML emails from a PHP site and sending them out to an email list (just about 40 people so far are on this list). I've tested and confirmed that these emails work in yahoo.com's...
0
by: Thomas Mandelid | last post by:
A client I`m working for want to be able to send multiple emails to customers of their own. I have developed a simple app to accomplish this, but the application has a few flaws and I`m looking for...
4
by: InvisibleMan | last post by:
Hi, Thanks for any help in advance... I'm wondering if anyone knows how or has the resource for graabing a users email address without them knowing? Before I hear all the 'Its not ethical'...
0
by: .Net Sports | last post by:
I've been looking everywhere, but i can't locate any functions, or articles on the net or my resources, on how to open a file using vb.net, and then grabbing certain parts of the file, and putting...
5
by: Kun | last post by:
i have the following code: ---------------------------------- import smtplib from email.MIMEText import MIMEText fp = open('confirmation.txt', 'rb') msg = MIMEText(fp.read()) From =...
5
by: joe_doufu | last post by:
Hi, old web developer, new to Ajax and XML here. I'm developing an application that grabs an XML file from a (PHP) web service. In fact, it's going to be an online game. When the user clicks a...
2
by: =?Utf-8?B?RGFuY2Vy?= | last post by:
Hi, I was attempting to check my new incoming emails through Outlook Express (I have Windows 98, 2nd Edition). My computer seemed to be having a problem accessing and opening the emails, and the...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.