470,588 Members | 2,126 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,588 developers. It's quick & easy.

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 1434
"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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Maxim | last post: by
reply views Thread by mmondok | last post: by
8 posts views Thread by Rob Edwards | last post: by
reply views Thread by Mostro | last post: by
reply views Thread by arjen1984 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.