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
0
votes
1 answer

CDOSYS and Unicode in the from field

I've got the code below, and I'm trying to set the from field to allow Unicode. Currently in my email client I get "??". The subject line and any content shows the Unicode correctly. And looking at the MSDN, the property should be…
Simmo
  • 3,101
  • 3
  • 16
  • 15
0
votes
2 answers

Need to send attachment in XLSX format using CDO mail

Hi Iam using follwing code as a sample to send a mail with attachment via SMTP, but the attachment what it send is in XLSM format i need that to be in XLSX (non macro) format. Kindly help me to fo this. Option Explicit 'This procedure will mail the…
Deva
  • 1
  • 1
  • 3
0
votes
1 answer

CDO.Message w/ multiple address@school.edu.au won't send

So here is a fun one. Messages won't be sent for certain situations. Here's an instance that I found. Note that it doesn't produce an error. Set objMail = server.CreateObject("CDO.Message") Set obj_conf = server.CreateObject("CDO.Configuration") Set…
Jonathan Doran
  • 226
  • 2
  • 6
0
votes
1 answer

Powershell script using CDOEX to retrieve appointment info from an exchange 2003 database?

Thank you for taking the time to read this. The original post will be retained below, but I -think- I have a better way to phrase my question. How do I re-write this powershell script which grabs appointment info from Outlook: Add-type -assembly…
Josh Alcorn
  • 158
  • 1
  • 17
0
votes
1 answer

450 error when sending email through IIS, SMTP

One of our servers is running a website that sends out email addresses with logins and passwords upon a user's registration. The email is configured with CDO. We seem to be getting blocked by some email services (see below). Is there a way to…
mikerdz
  • 77
  • 1
  • 11
0
votes
0 answers

CDO.Message - Hide password in ASP code?

Our mail server has been compromised and I think it has to do with a classic ASP page that uses CDO.Message and has the password in plain text. Is there a way to mask or get around having the password so easily visible?
0
votes
0 answers

Using CDO to send using HTML Body in IIS7.5 and classic ASP

We are using the following script. It works fine if we call HTML/ASP from another URL but if we attempt to send mail from the domain the script is on the site times out and requires the application pool to be recycled. The script also works if…
0
votes
1 answer

CDO Email Automation

I have a MS Access 2010 db that I want to send emails from automatically. I have the query set up but am getting stuck with the CDO VBA. They query is called 'qryEmails' and contains the following 4 fields: ReturnCode, SalesOrderNumber, Name,…
Michael
  • 2,507
  • 8
  • 35
  • 71
0
votes
2 answers

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…
Mark
  • 45
  • 2
  • 2
  • 10
0
votes
0 answers

How can I encode an email in arabic using CDO with Classic ASP?

I need to send an automated email in arabic using CDO with Classic ASP. I am able to send, but the email arrives with invalid characters. Does anyone had the same issue (or know the right way to do this)? Thanks in advance!
0
votes
1 answer

How to get the Error Code of CDO.Message

I wrote my routines for using CDO.Message. It's working long time ago. But now, in some site they installed a certificate and then the priorly working version is making errors with all calls. I used simple variants to hold the CDO.Message COM…
durumdara
  • 3,411
  • 4
  • 43
  • 71
0
votes
1 answer

Error via sending email through classic asp:

I am trying to send email via classic asp but it gives me below error. CDO.Message.1 error '80040213' The transport failed to connect to the server. /hotemp/regnew.asp, line 507 Initially it was working fine, suddenly it gives the above error. I…
waris kantroo
  • 83
  • 3
  • 21
0
votes
1 answer

VBA Excel - Want to embed varying images into CDO email

Ok, I have been working on this for a while now with no progress, so I'll toss it to you guys. I am writing a program in VBA for Excel that sends emails to customers. I would like to vary the images that the email sends out. The only working way…
user2782176
  • 3
  • 1
  • 2
0
votes
1 answer

Unexpected behavior Outlook Redemption on Windows 7

I'm in the process of migrating my development pc from Windows XP (Professional, SP3, x86) to Windows 7 (Professional, SP1, x86). The source of the application I'm working on is exactly the same on both machines, but fails on the Windows 7 machine…
Herman Cordes
  • 4,628
  • 9
  • 51
  • 87
0
votes
1 answer

Code after cdo.message.send won't execute in classic ASP

Here is my Complete code. There is no other code in the entire page. Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="abcd@example.com" myMail.To="abc@example.com" myMail.TextBody="This is a message.…