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 4 1508
"Radek" <a@a.plwrote in message
news:ek******** ******@TK2MSFTN GP03.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
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******** ******@TK2MSFTN GP03.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
>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.GetResp onse() 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.
>
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
(http://msdn.microsoft.com/library/en-us/wss/wss/_cdo_enumerating_storage_groups_and_stores.asp)
to do this.
I used makepy.py (on 'Microsoft CDO for Exchange Management Library')
to generate early binding and thought everything was going fine, but I
get the following...
|
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 Outlook 2000 installed.
Upgraded to ASP running on IIS6, Outlook 2000 and SQL 2000 on Windows
2003. Server2 runs windows 2003 with Exchange 2003 using CDO 1.2 MAPI
Sessions. Clients use IE5/6 and have Outlook 2000/2003 installed.
|
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, referencable objects,
and floats
|
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. ASP.NET application resides on Windows 2000 server and Exchange Server resides on the separate Windows NT Server. I read that .NET framework does not support cdo 1.21 so I thougt to go around this by programming my own dll component which has reference...
|
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 on an Exchange Server) as our
CRM tool. I need to know, using ASP.NET, if I can access everyone's
contacts, calendars, etc. with ASP.NET and then place all this data into SQL
Server for reuse. I understand that I will need a daemon to sync the...
| |
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 added. Converting the type library to a .Net assembly failed. A depended type library 'CDO' could not be converted to a .NET assembly. A dependent type library 'ADODB' could not be converted to a .NET assembly. Item has already been added."
...
|
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 was maybe a year ago that
I last saw it work. I remember thinking "cool feature, but don't need it"
and moving on. Now, a service pack later I cannot get it to work. (now I
need it) I am running exchange 2003 sp2 on server 2000 sp4. ...
|
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 that the ExchangeServer property of my service is
user-configured and I wanted to have it write to the event log if this
value is invalid so that it stops trying to process the users
(sometimes in the thousands). Currently, my service is not able...
|
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 SecurityException. This is my code to get the appointments:
protected void getAfspraken()
{
NetworkCredential credential = new NetworkCredential("bhees","1234567", "oaicttest");
WebdavSession session = new...
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |