Questions tagged [cdo.message]

Part of Microsoft's Collaboration Data Objects (CDO) it is usually used by WSH or .NET applications for e-mail message automation.

Documentation:

248 questions
56
votes
4 answers

Reading e-mails from Outlook with Python through MAPI

I'm trying to write a short program that will read in the contents of e-mails within a folder on my exchange/Outlook profile so I can manipulate the data. However I'm having a problem finding much information about python and exchange/Outlook…
johnharris85
  • 17,264
  • 5
  • 48
  • 52
9
votes
3 answers

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") =…
Ian R. O'Brien
  • 6,682
  • 9
  • 45
  • 73
8
votes
5 answers

VBScript Error '80040211' when sending emails

I have an error when sending emails: "error '80040211' " Here's an example of my code- Dim objMessage Set objMessage = CreateObject("CDO.Message") objMessage.Subject = "Super Service Comment - " objMessage.From = "someone@s.com" objMessage.To =…
7
votes
2 answers

Whats is this format called? "/o=First Organization/ou=First Administrative Group/cn=Recipients/cn=user"

What format is the following string called in regards to Microsoft Exchange? /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=user I've seen this using LDAP, but now seeing it CDO 1.2.1 and ultimately trying to convert it to an…
Chad Harrison
  • 2,836
  • 4
  • 33
  • 50
6
votes
3 answers

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") …
Pbearne
  • 1,025
  • 3
  • 12
  • 25
6
votes
2 answers

Is there some trick to making VBScript CDO work with Amazon SES SMTP?

Is there some trick to making VBScript CDO work with Amazon SES SMTP? I dont get any errors, but it doesn't send me my test e-mail either. Changing SSL to False does give me a 530 error, so I know I am at least reaching the server. What am I doing…
Ethan Allen
  • 14,425
  • 24
  • 101
  • 194
5
votes
2 answers

How to paste image from excel sheet into gmail body via visual basic?

I wrote one macro in excel I m send mail via Gmail. I m sending message but I cannot send picture because I cannot paste picture in gmail message body . I put my code. Also I m getting picture from activesheet(Sheet4 according to my excel ). How can…
Sezer Erdogan
  • 167
  • 1
  • 9
  • 34
5
votes
3 answers

ASP Classic CDOSYS Email via HTMLBody format

I have an issue sending an email using CDOSYS messaging system in ASP Classic using HTMLBody format. It seems to have a character limit, and when the email message is being sent, it cuts the message off around the bottom of the email. At first, I…
jrp1982
  • 113
  • 2
  • 7
5
votes
2 answers

Sending a CDO email message using an SSL connection

I have an asp page that sends the details of a form via email using CDO. So far, I have done this using smtp port 25 over a clear connection to a hmail server. I now need to use an SSL connection. I have created a security certificate and set hmail…
Funkyspirit
  • 113
  • 2
  • 3
  • 7
4
votes
2 answers

How to check is myMail.Send is true/false

<% Dim sent Dim YourName Dim YourEmail Dim YourMessage Set myMail2=CreateObject("CDO.Message") YourName = Trim(Request.Form("Name")) YourEmail = Trim(Request.Form("Email")) YourMessage = Trim(Request.Form("Message")) Dim Body Dim body2 Body…
James
  • 349
  • 1
  • 6
  • 17
4
votes
1 answer

Sending email in ASP (CDO message) hangs about 5 to 10 secs each time

I'm sending an email using this code: Set myMail=CreateObject("CDO.Message") myMail.Subject="Sign-up" myMail.From="support@abc.com" myMail.To="support@abc.com" myMail.HTMLBody = signup myMail.Configuration.Fields.Item…
greener
  • 4,989
  • 13
  • 52
  • 93
4
votes
1 answer

Extracting Embedded Images From Outlook Email

I am using Microsoft's CDO (Collaboration Data Objects) to programmatically read mail from an Outlook mailbox and save embedded image attachments. I'm trying to do this from Python using the Win32 extensions, but samples in any language that uses…
Corey Goldberg
  • 59,062
  • 28
  • 129
  • 143
4
votes
1 answer

Classic ASP - Use Ajax to submit enquiry form without refresh

I've had a look through Google etc but can't find anything for what I'm after so asking my fellow SE members for a little help. I have a form which is contained on my page and is consistent throughout the site. I would like to submit the enquiry…
Nick Green
  • 428
  • 3
  • 8
  • 18
3
votes
1 answer

How do I use CDO with Exchange with vbscript

I am trying to setup a script to email using an exchange account. I want to use CDO (or equivalent) with vbscript. The goal is to track email communications through the sent folder of the exchange account. I am using exchange 2007.
3
votes
1 answer

CDO.MESSAGE.1 The transport failed to connect to the server

I know there are several threads related to this, but none of them answered my question. Mere's the code (VBScript): With cdomsg.Configuration.Fields .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'NTLM method …
Anthony
  • 116
  • 2
  • 9
1
2 3
16 17