473,564 Members | 2,798 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1439
"sck10" <sc***@online.n ospamwrote in message
news:Om******** ******@TK2MSFTN GP02.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.n ospamwrote in message
news:Om******** ******@TK2MSFTN GP02.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******** ******@TK2MSFTN GP03.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.n ospamwrote in message
news:Om******** ******@TK2MSFTN GP02.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.comwr ote in message
news:Vx******** ******@TK2MSFTN GXA01.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
3120
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 code, to learn from, and also avoid re-inventing the wheel, does anyone know of any existing source that implements a (basic or complex) play-by-email...
1
2877
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 webmail. And I know they work on *my* Outlook Express. But I have one person (I know of) who gets the emails as plain text, so she sees the HTML code for...
0
1741
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 some help/advice. The current setup is like this: - Read emails from db - Send a mail to each address in a foreach This generates a lot of...
4
1299
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' blurb - I know and my use is legitimate... I am build an e-commerce store and as well as grabbing the users IP at point of sale, i think it would be...
0
1580
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 it into a useable variable. I know there are functions like Split, Len, Trim, etc., but I have found nothing as far as the sequence for the syntax....
5
23778
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 = 'xxxx@xxxx.xxxx.edu'
5
1915
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 map location it accesses a service that provides information about that location in a form something like this: <maplocation locID="###"...
2
2167
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 next thing I knew the screen was showing "the system is busy" message. So I pressed "Control-Alt-Delete" as it indicated to re-start the computer,...
0
3424
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 to a PDA/palmtop via POP3. The PDA uses Windows Mobile software. Since using the PDA, I have had the problem of emails disappearing from the...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.