Browse by Tags

All Tags » devmsgteam » CDOSYS   (RSS)
Showing page 1 of 3 (28 total posts)
  • Fixing the Charset on MIME Messages When Using ADODB.Stream.ReadText

    We had an issue recently where the customer had written an application to process MIME messages that had body parts encoded with the koi8-r charset …or at least that’s what it said: ------_=_NextPart_001_01C9F067.D9742103 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable If you use code similar to the following, the resulting characters returned were not correct. private string ReadBodyPart() { CDO. IDataSource oIDsrc; ADODB. Stream objBpStream = new
    Posted to Wiz/dumb (Weblog) by pcreehan on October 29, 2009
    Filed under: MIME, .NET, DevMsgTeam, CDOSYS, CDOSYS/CDOEX
  • System.Net.Mail unable to Authenticate against some third party SMTP Servers

    I recently ran into an issue where one of my customer was unable to send mail using System.Net.Mail(.Net 2.0), we always got the "Authentication failed" error. We tried sending mail using Microsoft CDO for Windows 2000 Library(Cdosys) and System.Web.Mail and the mails went just fine. if Cdosys works System.Web.Mail(SWM) would normally work because SWM is essentially a wrapper over Cdosys. How can you send mails using Cdosys? Click here Why is one API able to send mail and the other fails?
    Posted to Akash Blogging...... (Weblog) by akash on September 16, 2009
    Filed under: DevMsgTeam, System.Net.Mail, SMTP, CDOSYS, System.Web.Mail
  • HOWTO: WebDAV: Send mail with Custom Form and set properties

    This is going to be a very simple sample of how you can send an email with custom properties set and also change the message class so that it render on outlook as Custom Form. Prerequisites: A custom form must be published with same class name to render the email properly. How it works… Step 1) It drop an email in the drafts folder of user Step 2) Patches the properties to set Message Class & other properties, even including with special characters in name like Spaces and ‘/’ Step 3) Drop the
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on May 22, 2009
    Filed under: Exchange, Messaging, HOWTO, CDOSYS, WEBDAV, Samples, Windows Live Writer, DevMsgTeam, CoolStuff
  • HOWTO: Query information related to ProgID & CLSID, verify where the image is loaded from Disk.

    Ever copied a DLL from one system to another and registered it using RegSvr32.exe? or in other words ever created a DLL hell situation? Its easy and dirty at the same time to copy-paste DLL between systems and register them using regsvr32.exe Often you copy-paste, register DLL from temporary folders or may be desktop and then later delete the DLL or move to other folder without unregistering/re-registering it. Stop right there!!! You are creating a problem for yourself. Every time you register a
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on April 9, 2009
    Filed under: CDOEXM, CDOEX, CDO, CDOSYS, Samples, Workarounds, DevMsgTeam, Tip Of The Day, CoolStuff, MSXML, VBScript
  • Unicode mails send using CDOSYS & Bodypart show special or funny characters in message body

    Recently I was working with a Customer who uses ASP & CDOSYS to send Unicode content e-mails. He had the following partial code-snippet: ... Set objMail = Server.CreateObject( "CDO.Message" ) 'Create CDO.Message Object Set objBodyPart = objmail.BodyPart 'Create BodyPart objBodyPart.Charset = "UTF-8" 'Set relevant Charset   Set objConf = Server.CreateObject( "CDO.Configuration" ) 'Create Configuration Object Set objFields = objConf.Fields 'and set its Configuration
    Posted to Le Café Central de DeVa (Weblog) by deva on February 3, 2009
    Filed under: CDOSYS, Configure, DevMSGTeam, SMTP, Unicode, TextBodyPart, ASP, e-mail, Charset, HTMLBodyPart, UTF-8, BodyPart
  • Relationship between CDOSYS & CDOEX

    CDOEX is a superset of CDOSYS; this means that CDOEX contains all of the functionality of CDOSYS, plus additional functionality for use with Microsoft Exchange Server 2000. When CDOEX is installed on a computer, it takes over the functionality that was previously provided by CDOSYS. Any program that makes calls to CDOSYS will now call CDOEX instead. When CDOEX is installed (by installing Microsoft Exchange Server 2000, Microsoft Office XP, or other programs), the CDO for Windows 2000 reference is
    Posted to Le Café Central de DeVa (Weblog) by deva on February 3, 2009
    Filed under: CDO, CDOSYS, CDOEX, VBScript, VBA, DevMSGTeam, Visual Basic, CDO 1.21
  • How to configure user permissions to relay e-mail message through SMTP Service?

    You need to configure the user permissions to relay e-mail messages through the SMTP service. Do the following steps: Click Start , click Run , type inetmgr or open Internet Information Manager from Control Panel > Administrative Tools, and then click OK . Expand ComputerName , and then right-click a valid SMTP virtual server. Note The placeholder ComputerName represents the name of the local computer. Click Properties . On the Security tab, add the user account as an Operator, which you want
    Posted to Le Café Central de DeVa (Weblog) by deva on December 30, 2008
    Filed under: CDO, CDOSYS, Configure, design, DevMSGTeam, Security, development, debug, SMTP, permissions, IIS, Authentication, relay
  • Sending email using CDO & remote SMTP Server

    Assume that the computer on which this example will run has neither a SMTP service nor Microsoft Outlook® Express installed. In this case, you need to send the message through some SMTP service on the network and must configure the Message object completely. Further assume that the SMTP service through which you intend to send messages requires that you authenticate yourself using basic (clear-text) authentication. An instance of the Configuration Component Object Model (COM) class is created and
    Posted to Le Café Central de DeVa (Weblog) by deva on December 30, 2008
    Filed under: CDO, Tutorials, CDOSYS, Configure, Ports, design, Troubleshooting, DevMSGTeam, development, debug, SMTP, Schema, definitions, Authentication, System.Net
  • Test and troubleshooting tools for various Exchange technologies

    I tried to compose the test and troubleshooting tools for various exchange technologies. This initial list upto Exchange Server 2003. Technology Tools for test and troubleshooting tools Active Directory Services Interfaces (ADSI) All standard test and debugging tools, as well as other Microsoft and third-party test and debugging tools, can be used. Collaboration Data Objects for Windows 2000 (CDOSYS) No special debugging tools are needed to debug applications that use CDOSYS. CDOSYS SMTP/NNTP Event
    Posted to Le Café Central de DeVa (Weblog) by deva on October 29, 2008
    Filed under: Monitoring Event Sink, Exchange Server 2007, Exchange Server 2003, Exchange Tools, Do you know, CDO, Tutorials, EXCDO, CDOSYS, CDOSRV, CDONTS, CDOEX, CDOEXM, EXOLEDB, WebDAV, SMTP Sink, Active Directory, Troubleshooting, DevMSGTeam, Exchange System Manager, development, debug, Exchange Object
  • HOW IT WORKS: Why my MSG files are getting converted to inline attachments ?

    You might have faced this issue if you have used Outlook to send emails to SMTP recipients (non-exchange). Whenever you attach any MSG file to attachments it gets converted to inline attachment for the recipients. It made my colleague Akash worried why its happening and I have to explain him Why. Here is the story... Outlook and Exchange both are responsible for content conversation on the basis of protocol being used. If it’s MAPI (Outlook connecting to Exchange), Outlook will not touch the
    Posted to Jive into Messaging world (Weblog) by Vikas Verma on September 10, 2008
    Filed under: Exchange, Outlook, Messaging, CDOSYS, OOM, MAPI, DevMsgTeam, How It Works
1 2 3 Next >

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker