473,659 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

email error reporting mechanisms from c# components deployed on non-Exchange remote clients.

If I were to deploy components to clients whose Windows infrastructure is
unknown, ie. not sure they have Microsoft Exchange running or not, how would
I set up a kind of Dr. Watson like mechanism?

Does the SMTP class work? What do I need to know about the Collaboration
Data Objects for Windows 2000 (CDOSYS) message component?

If CDO as it currently works on Win2K is a robust easy to setup/administer
mechanism, then I would think that includ ing some code directly into the
exception handling mechanisms, perhaps creating a delegate to call a
function which does this,,,,, then it shouldn't be too difficult a task.

Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.

Thank you. -hazz
Nov 16 '05 #1
9 1790
> Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.


You might be interested in the article "C# SMTP Mail without SMTP Service or
CDO" (@ http://www.eggheadcafe.com/articles/20030316.asp)

I implemented it in an "error reporting via email" custom task that I wrote
for use in MSBuild script and it works like a charm.

HTH
Sean Brzozowski
Nov 16 '05 #2
Or just use a component that does not have any dependencies.

The below component from Quiksoft Corporation is free and works great.

http://www.freesmtp.net
"Sean Brzozowski" <p5**@hotmail.c om> wrote in message
news:eo******** ******@TK2MSFTN GP14.phx.gbl...
Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.


You might be interested in the article "C# SMTP Mail without SMTP Service
or CDO" (@ http://www.eggheadcafe.com/articles/20030316.asp)

I implemented it in an "error reporting via email" custom task that I
wrote for use in MSBuild script and it works like a charm.

HTH
Sean Brzozowski

Nov 16 '05 #3
Sean,
Thank you. Your app works like a champ. Test solution and everything!

I guess it is simply enough to just make one simple assumption with a client
using this.
If an end-user where using an application of mine, how does the admin
process go with regards to

1. SMTP Server.
2. Reply to address. (which in my test case is the same as 1 above.

I guess I would hard code (2) or use a config file to update my SMTP
address.
I need to ask more questions about the SMTP Server. I guess that is really
nothing that my client installation would need to get, I could supply all
that. What my component really needs and what I understand your code is
utilizing....is just the destination server/address.

I could use other means to identify from whom the error message is
originating from.

Thank you for this great head start!

-hazz

1. In a
"Sean Brzozowski" <p5**@hotmail.c om> wrote in message
news:eo******** ******@TK2MSFTN GP14.phx.gbl...
Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.


You might be interested in the article "C# SMTP Mail without SMTP Service
or CDO" (@ http://www.eggheadcafe.com/articles/20030316.asp)

I implemented it in an "error reporting via email" custom task that I
wrote for use in MSBuild script and it works like a charm.

HTH
Sean Brzozowski

Nov 16 '05 #4
Thank you very much Bill for that link.
I can see that a static
"Bill" <ms****@hotmail .com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
Or just use a component that does not have any dependencies.

The below component from Quiksoft Corporation is free and works great.

http://www.freesmtp.net
"Sean Brzozowski" <p5**@hotmail.c om> wrote in message
news:eo******** ******@TK2MSFTN GP14.phx.gbl...
Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.


You might be interested in the article "C# SMTP Mail without SMTP Service
or CDO" (@ http://www.eggheadcafe.com/articles/20030316.asp)

I implemented it in an "error reporting via email" custom task that I
wrote for use in MSBuild script and it works like a charm.

HTH
Sean Brzozowski


Nov 16 '05 #5
whoops!..someth ing slipped.... I see that a static method for a
quicksendmail is an option with this tool or there is the possibility of
instantiating the class and using member methods... I get back to the same
question I have to answer is how to add the following to an assembly
installed on client 'x'. I think a config file would be easiest and then
get that custom section of the application config file programmaticall y at
run time. thx a whole lot! -hazz
1. recipient@domai n___com
2. mail.domain.com
3. sender@domain__ com
"Bill" <ms****@hotmail .com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
Or just use a component that does not have any dependencies.

The below component from Quiksoft Corporation is free and works great.

http://www.freesmtp.net
"Sean Brzozowski" <p5**@hotmail.c om> wrote in message
news:eo******** ******@TK2MSFTN GP14.phx.gbl...
Any ideas would be appreciated before I dive into this "Customer Error
Reporting" system that would receive crash reports from its client
component.


You might be interested in the article "C# SMTP Mail without SMTP Service
or CDO" (@ http://www.eggheadcafe.com/articles/20030316.asp)

I implemented it in an "error reporting via email" custom task that I
wrote for use in MSBuild script and it works like a charm.

HTH
Sean Brzozowski


Nov 16 '05 #6
"Hazz" <ha**@nospamero osonic.net> wrote in
news:ea******** ******@tk2msftn gp13.phx.gbl:
If I were to deploy components to clients whose Windows infrastructure
is unknown, ie. not sure they have Microsoft Exchange running or not,
how would I set up a kind of Dr. Watson like mechanism?


Not all systems have CDO installed. Here is an example that uses Indy (free,
with source) and does not require CDO.

http://www.codeproject.com/csharp/IndySMTP.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
Nov 16 '05 #7
Thank you Kudzu and thank you for the test app. And I like that you are an
open sourcer...
Are the files needed for the project references; Indy.Sockets and
Borland.VclRrtl both contained in the executable from your website?
http://www.atozed.com/indy/plus/Files.iwp
Thank you. -hazz

"Chad Z. Hower aka Kudzu" <cp**@hower.org > wrote in message
news:Xn******** **********@127. 0.0.1...
"Hazz" <ha**@nospamero osonic.net> wrote in
news:ea******** ******@tk2msftn gp13.phx.gbl:
If I were to deploy components to clients whose Windows infrastructure
is unknown, ie. not sure they have Microsoft Exchange running or not,
how would I set up a kind of Dr. Watson like mechanism?


Not all systems have CDO installed. Here is an example that uses Indy
(free,
with source) and does not require CDO.

http://www.codeproject.com/csharp/IndySMTP.asp
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/

Nov 16 '05 #8
"Hazz" <ha**@nospamero osonic.net> wrote in news:OgQUp8uEFH A.1396
@tk2msftngp13.p hx.gbl:
Thank you Kudzu and thank you for the test app. And I like that you are
open sourcer...
Its not just me but the whole team. :)
Are the files needed for the project references; Indy.Sockets and
Borland.VclRrtl both contained in the executable from your website?
http://www.atozed.com/indy/plus/Files.iwp


Yes. http://www.indyproject.org/ is the main site, the site above just offers
a free installer. I'll double check but Im pretty sure the installer has been
updated to include the Borland.VclRtl, if not its on www.indyproject.org for
sure.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
Nov 16 '05 #9
Thank you Chad.

"Chad Z. Hower aka Kudzu" <cp**@hower.org > wrote in message
news:Xn******** **********@127. 0.0.1...
"Hazz" <ha**@nospamero osonic.net> wrote in news:OgQUp8uEFH A.1396
@tk2msftngp13.p hx.gbl:
Thank you Kudzu and thank you for the test app. And I like that you are
open sourcer...


Its not just me but the whole team. :)
Are the files needed for the project references; Indy.Sockets and
Borland.VclRrtl both contained in the executable from your website?
http://www.atozed.com/indy/plus/Files.iwp


Yes. http://www.indyproject.org/ is the main site, the site above just
offers
a free installer. I'll double check but Im pretty sure the installer has
been
updated to include the Borland.VclRtl, if not its on www.indyproject.org
for
sure.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/

Nov 16 '05 #10

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

Similar topics

5
2742
by: DU | last post by:
Hi! I really need to understand what is so-called browser error correction mechanisms. Can you explain this? I read somewhere (and I no longer can find where I read that) that browsers try to render as best as they can elements (and/or attribute too? can't remember) that they ignore. e.g.: I know that fieldset will be rendered as a block level element in NS 4.7+, almost just like div.
67
4247
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. Unfortunately these ad hominem rhetorts are frequently introduced into purely technical discussions on the feasibility of supporting such functionality in C++. That usually serves to divert the discussion from the technical subject to a discussion of the...
0
1063
by: Wayne Wengert | last post by:
I develop my web pages using VSNET 2003 (VB). I have the full developer version of Crystal Reports 10. My Web site is hosted by a commercial ISP - I simply buy the service. I want to run reports against my database (SQL Server 2000). Based on this, I see two options: 1) User Crystal Reports or 2) Use SQL Server Reports. I cannot get the CR solution to work and based on discussions with 2 ISPs, I cannot afford the SQL Reports solution. ...
1
1989
by: viktor9990 | last post by:
I have an application in asp.net where from code I open a powerpoint presentation and save it to html. It is working well when running on my computer (after editing in the DCOM locally) but when I deployed to the server(and changed in the DCOM as I did locally) I got this error Message below: Which settings on the server should I edit? Thanks Unspecified error Description: An unhandled exception occurred during the execution of the...
10
5244
by: Al | last post by:
Hi, I am seeking to obtain the line number of an error once deployed with out inserting line numbers in the method. The IDE inserts line numbers but this function does not appear to be a deployment option. Without entering a line number eg.(10210:) in the code erl and e.tostring do not indicate the line on which the error occured. Inserting line numbers appeares to insert no-ops into the code when it is stepped through in the IDE. Is...
3
1826
by: Bob | last post by:
Crystal 9.2 causes my application to crash when the user is on a slow computer, gets bored waiting for the reports COM components to load and switches focus to another window. It locks my app up hard and the user is forced to kill it with Task Manager. I'm so getting rid of Crystal the first chance I get. Anyway, when this happens the user is prompted to send an error report to Microsoft. Well, I don't want any particulars of my...
0
2341
by: Nanker | last post by:
I would like to integrate Reporting Services reports into an existing email messaging framework using .NET 1.1 (both to leverage the existing framework and since the error reporting by Reporting Services subscriptions isn't that great). Within this C# application, I would like to be able to: - Run a report by hitting a URL, specifying the report parameters - Read back the results as MHTML (which will embed images) - Send an email with...
1
1412
by: C4rtm4N | last post by:
I'm about to embark on re-writing a database & bespoke web reporting application for our call centre & would like a little advice please. Currently the database has 10 tables containing summaried (<=1 record per staff member per day) data from different legacy systems, populated by DTS. There is an 11th table that has staff data in which is used to link the others together as many have different primary keys. After the data has been...
35
3770
by: jeffc226 | last post by:
I'm interested in an idiom for handling errors in functions without using traditional nested ifs, because I think that can be very awkward and difficult to maintain, when the number of error checks gets about 3 or so. It also gets very awkward in nested loops, where you want to check for normal loop processing in the loop condition, not errors. Yes, you could put some generic exit flag in the loop condition, but when you're simply done if...
2
1961
by: Axel Gallus | last post by:
I am desperately looking for some resources dealing with error handling in c++. Don't get me wrong.... I have very detailed knowledge of exceptions, assertions and invariants, but what is missing it the following: 1.) When developing a commercial application, how does the usage of exceptions and assertions as well as
0
8337
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8748
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8628
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5650
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
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
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.