473,511 Members | 14,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Web.Mail

Hi.

I know you can send an email using System.Web.Mail but other than using the
Outlook object, is there another way to read the email in an Inbox.

I'm currently reading the mail in an Inbox with the Outlook object. The
program works fine when deployed on my pc but when deployed to another server
I get a pop-up message saying "A program is trying to access mail addresses
you have stored in Outlook".

Other than getting some 3rd party software to resolve this issue, is there
another way to read email from an Inbox?

Rita
Jul 21 '05 #1
3 1838
Rita:

I've written similar software for Outlook object access. Its part of
Outlook's security settings. To the best of my knowledge, it cannot be
circumvented.

i tried adding my components to the GAC so theyre trusted, but even that
didnt work. Ultimately we had to stick to Outlook 2000, pre SR-1, because
that was the security update that implemented the dialog box youre talking
about - this update corrected a large number of security flaws.
"RitaG" <Ri***@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi.

I know you can send an email using System.Web.Mail but other than using the Outlook object, is there another way to read the email in an Inbox.

I'm currently reading the mail in an Inbox with the Outlook object. The
program works fine when deployed on my pc but when deployed to another server I get a pop-up message saying "A program is trying to access mail addresses you have stored in Outlook".

Other than getting some 3rd party software to resolve this issue, is there
another way to read email from an Inbox?

Rita

Jul 21 '05 #2
Thanks for the information Elliot. I'm looking into using Outlook Redemption
- not what I wanted to do but from what you said in the email and what I've
read out there, what I'll probably have to do!

"Elliot Rodriguez" wrote:
Rita:

I've written similar software for Outlook object access. Its part of
Outlook's security settings. To the best of my knowledge, it cannot be
circumvented.

i tried adding my components to the GAC so theyre trusted, but even that
didnt work. Ultimately we had to stick to Outlook 2000, pre SR-1, because
that was the security update that implemented the dialog box youre talking
about - this update corrected a large number of security flaws.
"RitaG" <Ri***@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi.

I know you can send an email using System.Web.Mail but other than using

the
Outlook object, is there another way to read the email in an Inbox.

I'm currently reading the mail in an Inbox with the Outlook object. The
program works fine when deployed on my pc but when deployed to another

server
I get a pop-up message saying "A program is trying to access mail

addresses
you have stored in Outlook".

Other than getting some 3rd party software to resolve this issue, is there
another way to read email from an Inbox?

Rita


Jul 21 '05 #3
Hey Rita and Elliot,

I just wanted to drop a note thanking you for your thread. We have REALLY
been struggling with this issue. We ended up writing a .NET assembly that
uses the SMTP components to fire out email. It's an excellent performer but
you have to write your own address verification tools and there is not "sent
items" folder so if a user is involved in the process, they may never really
trust the email got sent. It is also a little challenging to integrate the
..NET assembly/component into V6. You have to do a lot more work in the .NET
code...but it's worth it. And if you are writing a service or some process
that runs unattended I would argue the .NET email is mucho better!! Just
remember to write rich error handling code.

Thanks again - I'm going to check out Outlook Redemption also.

Mark B

"RitaG" wrote:
Thanks for the information Elliot. I'm looking into using Outlook Redemption
- not what I wanted to do but from what you said in the email and what I've
read out there, what I'll probably have to do!

"Elliot Rodriguez" wrote:
Rita:

I've written similar software for Outlook object access. Its part of
Outlook's security settings. To the best of my knowledge, it cannot be
circumvented.

i tried adding my components to the GAC so theyre trusted, but even that
didnt work. Ultimately we had to stick to Outlook 2000, pre SR-1, because
that was the security update that implemented the dialog box youre talking
about - this update corrected a large number of security flaws.
"RitaG" <Ri***@discussions.microsoft.com> wrote in message
news:FC**********************************@microsof t.com...
Hi.

I know you can send an email using System.Web.Mail but other than using

the
Outlook object, is there another way to read the email in an Inbox.

I'm currently reading the mail in an Inbox with the Outlook object. The
program works fine when deployed on my pc but when deployed to another

server
I get a pop-up message saying "A program is trying to access mail

addresses
you have stored in Outlook".

Other than getting some 3rd party software to resolve this issue, is there
another way to read email from an Inbox?

Rita


Jul 21 '05 #4

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

Similar topics

4
8642
by: Trond A. S. Andersen | last post by:
Hi, all! I'm trying to use the System.Web.Mail. "package" combinded with System.Web.Mail.SmtpMail in order to send MS Excel spreadsheets attached to mail messages. However, sending one single...
3
3250
by: Phil Mc | last post by:
Hi has anyone come accross the problem.... with referance to System.Web.Mail.MailMessage and System.Web.Mail.SmtpMail THIS WORKS FINE mail=new MailMessage(); mail.From =...
5
2222
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
3
4330
by: pmud | last post by:
Hi, I have ab ASP.Net Application in which I need to send e-mail on button click. Even though my C# code for that is correct.I am getting the following error:: I think the following error can be...
1
8154
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
2
3477
by: Ryan | last post by:
Hi, I receive an access denied error (see below) when attempting to send an email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same code works fine in a console...
1
5867
by: theWizard1 | last post by:
The following sends my email, but the attachment is empty. The attachment should contain the data that is in the string that was created from the xmlReader. I have a stored procedure written...
2
17452
by: clevrmnkey | last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I finally need to make them work, and I can't for the life of me see what I'm doing wrong. I pared back my mail transaction to...
10
3918
by: Frank | last post by:
Hi, I am hoping to find out the differences between the System.Net.Mail and System.Web.Mail. Can some nice folks post the differences; or some urls which show the differences? Great Thanks...
2
6808
by: satnamsarai | last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail. Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.' Not sure how...
0
7252
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
7153
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...
0
7432
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
7517
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...
1
5077
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
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 ...
0
452
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...

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.