473,383 Members | 1,795 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,383 software developers and data experts.

MS Exchange & ASP.NET problem

Hi,

I would like to send mails using MS Exchange from ASP.NET application. Is it
possible to achieve this with CDO 1.21? Currently I'm using Redemption
(version 4.2) and I have the following problem: E-mails can only be send
when Outlook is opened on the computer where IIS is working. If Outlook is
closed, every logon method call shows dialog with username, server name and
password (although I have entered correct user profile name and password).
Is it possible to disable this dialog? How to login with no dialog? The main
problem is that I would like to login to different accounts.... How to
achieve this?

When I was trying to add reference to CDO 1.21 to my VS Express project an
error has occured. I've read on forum that it is impossible to use cdo with
ASP.NET? Is this true? If it is possible how to do it?

Rami
Feb 8 '07 #1
4 1498
"Radek" <a@a.plwrote in message
news:ek**************@TK2MSFTNGP03.phx.gbl...
How to achieve this?
I guess the first question is why are you trying to use Outlook at all...?

http://www.systemnetmail.com/faq/3.aspx
Feb 8 '07 #2
I would recommend using WebDav, you will not get a reliable solution using
CDO.

You can hand code the webdav calls, or use a third party product.

I used this wrapper and it save me a lot of time. It lets you send email
from exchange, read inboxes, public folders, etc.

http://www.independentsoft.de/webdavex/index.html
"Radek" <a@a.plwrote in message
news:ek**************@TK2MSFTNGP03.phx.gbl...
Hi,

I would like to send mails using MS Exchange from ASP.NET application. Is
it possible to achieve this with CDO 1.21? Currently I'm using Redemption
(version 4.2) and I have the following problem: E-mails can only be send
when Outlook is opened on the computer where IIS is working. If Outlook is
closed, every logon method call shows dialog with username, server name
and password (although I have entered correct user profile name and
password). Is it possible to disable this dialog? How to login with no
dialog? The main problem is that I would like to login to different
accounts.... How to achieve this?

When I was trying to add reference to CDO 1.21 to my VS Express project an
error has occured. I've read on forum that it is impossible to use cdo
with ASP.NET? Is this true? If it is possible how to do it?

Rami

Feb 8 '07 #3
>I would recommend using WebDav, you will not get a reliable solution using
>CDO.
Well, I've tried this possibility too, but the problem is that solution
doesnt't work...... When I'm preparing HttpWebResponse and calling
request.GetResponse() I've got an Exception (error 501: Not Implemented).
Maybe the problem is that I'm using Exchange 5.5? If any code examples or
ideas it would be nice.....
You can hand code the webdav calls, or use a third party product.

I used this wrapper and it save me a lot of time. It lets you send email
from exchange, read inboxes, public folders, etc.

http://www.independentsoft.de/webdavex/index.html
Thanks, I will try it.
>

Feb 9 '07 #4
I have to ask the question: Why not use System.Net.Mail? You can
connect to Exchange and send mails from ASP.NET pages very easily
without needing additional credentials (system credentials are
accepted).

I believe CDO is somewhat deprecated and not encouraged to be used any
longer... So going forward, if you choose to use CDO, you may find it
difficult to support or maintain...

I don't know what your requirements are, so I understand that you may
*have* to use CDO, but wasn't sure if you've considered it...

HTH,
Greg

Feb 11 '07 #5

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

Similar topics

0
by: Erick Bodine | last post by:
I am trying to get a list of Storage Groups on an Exchange Server (E2K) with an eye towards deleting/creating more. I am going off of the Exchange SDK docs in msdn...
0
by: Nitec Dev | last post by:
Our setup: server1 ASP database running on IIS5, Outlook 2000 and SQL 2000 on Windows 2000. Server2 runs Windows 2000 with Exchange 2000 using CDO 1.2 MAPI Sessions. Clients use IE5/6 and had...
19
by: steve | last post by:
// What I want to do Use enumerated types with the Interlocked.Exchange methods Suggestions please // My estimation of problem Seems like Interlocked.Exchange only works with ints,...
0
by: Maxim | last post by:
Hi I have a major problem with cdo 1.21 and ASP.NET. I hope you can help me. Please, could you guide me in right direction I need to access an Exchange Server 5.5 from ASP.NET application....
0
by: mmondok | last post by:
Here is my scenario: I am currently developing a CRM-Transaction Management app for my company. The entire application must be run through a browser window. My boss wants to use Outlook (based...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
0
by: Mostro | last post by:
I have had an OMA problem for a month now, and cannot figure it out. A while back, can't rememeber a specific time, I was able to browse to my OMA at the local host using http://127.0.0.1/oma - it...
0
by: jayeldee | last post by:
Hello all, I have a service that's using CDO 1.21 and Redemption to routinely iterate through a list of users to retrieve some properties which are then written to a database. My problem is...
0
by: arjen1984 | last post by:
I am now working on C# with WebDAV on Exchange now to get appointments. When I work local on the domain where the server is, i can get the appointments no problem. When I work outside of it, i get an...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.