cdo.message

ASP Form Recipient Error

I have a form that when filled out and submitted, works fine. When the recipient replies to the sender though, the email actually goes to him instead of the intended party. Below is the form. Help! <% Dim roomsanswer, fashionsanswer, commentsanswer, nameanswer, addressanswer, citystateanswer, zipanswer, phoneanswer, phone2answer, email...

JavaScript-friendly alternative to the f(x) = y JScript idiom that's used when setting CDO.Message options

I have an ASP page written in JScript that sends e-mails using CDO.Message. For specifying an SMTP server (and other options) I'm doing something like this: mail.Configuration.Fields.Item( "http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.example.com"; Now, here comes the catch. I have this code in a stand-a...

CDO.Message - to many connections

I am writing a newsletter application using CDO.Message. But get an error back that we have to many connections. Seems they have a limit of 10 simultaneous connections. So, is there a way to send several messages on one connection, or disconnect faster? There is a cdo/configuration/smtpconnectiontimeout parameter, but I think that's m...

Correct format for CDO AddAttachment for UNC path

CDO works fine in Access VBA for me except when I try to use UNC paths for the attachments. According to MSDN documentation on CDO, AddAttachment should allow UNC paths. Here's what I think should work, but doesn't: msg1.AddAttachment "\\serv.dom.local\path with spacesh1\file.xls" It works perfectly fine if I use "C:...". What's th...

HTTP Request Object and processing local requests

I have a web application that uses the CDO Message object to email reports. For example: Dim objCDO Set objCDO = Server.CreateObject("CDO.Message") objCDO.CreateMHTMLBody "http://server/report.asp" The problem is that when it makes its request to IIS, it does not inherit the ASP session identity of the logged in user i.e. the session...

CDO.Message problem on Windows Server 2008

I have a Classic ASP page that creates a CDO.Message object to send email. The code works on Window Server 2003 but not 2008. On 2008 an "Access is denied" error gets thrown. Here is a simple test page I wrote to diagnose the problem. How can I get this to work on Windows Server 2008? dim myMail Set myMail=CreateObject("CDO.Message") ...

Server-sent email sporadically includes weird characters

For the past year at least now a good dozen or so of the users of my site have experienced odd characters showing up in the emails they receive. I've researched the issue numerous times and have pretty much written it off to be some sort of encoding issue on the users' end. That conclusion doesn't really sit quite right with me since I'v...

Adding byte to the recordset works, adding same to a stream does not

A file is submitted, that file is put into a blob in a database (.AppendChunk), and that file should also emailed. What I want to do is: File is parsed from the form data into a variable (done). Variable is inserted into database (rs(key).AppendChunk var) (done). That variable is attached to an email (failing). However, if I read back w...

Could not access CDO.Message

How can i resolve this kind of error using vb.net 2003? Could not access CDO.Message Object ...

CDO.Message.1 error '80070005' Access is denied.

I am getting this error when I try to send via the local server CDO.Message.1 error '80070005' Access is denied. /mail.asp, line xxx Here is the code I am using MailBodyText = "TEST" Set objNewMail = CreateObject("CDO.Message") objNewMail.To = sSendTo objNewMail.From = "[email protected]" objNewMail.Cc = "webmaster...

ASP Mail Error: The event class for this subscription is in an invalid partition

I have some ASP code that I've "inherited" from my predecessor (no, it's not an option to update it at this time...It would take an act of not only Congress, but every other foreign country too) and I'm having an issue sending mail on one of the pages. It is an almost identical code snippet from the other page, but this one throws an er...

Excel VBA Error when adding attachments using CDO.Message "Object doesn't support this property or method"

VBA/Excel Macro Programming - I'm trying to automate sending out an email with an Excel attachment. When I try and add an attachment, I get the following error: "Object doesn't support this property or method". Anyone have any ideas? It's not filename, filepath issues, the file exists, and the path is correct. Dim wbOld As Workbook D...

How can I set "High Importance" on email sent using VBA?

I tried setting a few properties on this object to send an email with high importance, but nothing seemed to work. Here is what I tried: objEmail.Importance = 2 objEmail.Configuration.Fields.Item("urn:schemas:mailheader:X-MSMail-Priority") = "High" ' For Outlook 2003 objEmail.Configuration.Fields.Item("urn:schemas:mailheader:X-P...

"CDO.Message" is not working in my Delphi application

Hi! I created an application uses CreateOLEObject("CDO.Message") Everything is working fine in my machine, but in another I got Érvénytelen osztályú karakterlánc. errormessage (hungarian). This is meaning these error codes by ms support (http://support.microsoft.com/kb/186063/hu): -2147221005 (800401F3) The destination machi...

ASP.NET equivalent to Classic ASP/CDOSYS method

Hi Guys, I know How to send e-mail messages by using CDOSYS and the local SMTP directory with Visual Basic .NET Is that method obslete in ASP.NET? If so, what is the new method? Please guide me in the right direction. I am coding in C#. Regards, naveenj Edit: The idea is to send mail using "localhost" as server without authentication...

Could not access 'CDO.Messge' object

Can anyone know on how this error arise? Could not access 'CDO.Messge' object ...

Delphi: CDO.Message encoding problems

Hi! We wrote a Delphi program that send some informations with CDO. In my Win7 machine (hungarian) the accents are working fine. So if I sent a mail with "ÁÉÍÓÖŐÚÜŰ", I got it in this format. I used iso-8859-2 encoding in the body, and this encode the subject, and the email addresses to (the sender address is contains name). I though...

CDO message wont send when delivery receipt requested

I'm writing an application in classic ASP (yes, please forgive me) that sends e-mails using Google Mail. I have it working just fine like this: Dim ObjSendMail Set ObjSendMail = CreateObject("CDO.Message") ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ObjSendMail.Configuration.F...

Sending mails in different languages using ASP and CDOSYS

I want to send an email using arabic text as subject line. The code piece converts the special characters into arabic text properly for message body but fails to do so for message subject. I would like to know what I am missing ? Set objCDOSYS = Server.CreateObject("CDO.Message") Set objCDOConf = CreateObject("CDO.Configu...