Questions tagged [cdonts]

25 questions
2
votes
2 answers

CDO - Not Sending email

Helllo, i am calling ASP page from HTML on click of submit button, and in ASP i want to send Email. So i have writen below code, but neither it is sending mail nor i am getting any Error. <% dim myMail Set…
User5590
  • 1,383
  • 6
  • 26
  • 61
2
votes
1 answer

What namespace do I use when sending a message with VBA and CDO for SMTP?

I do not understand why every example I have seen has the schema from microsoft for the namespace. What is it for? Is it really sending something by looking at Microsoft servers? How do I use CDO with Exchange with vbscript I would post my code…
johnny
  • 19,272
  • 52
  • 157
  • 259
1
vote
1 answer

SMTP access blocked by all common email providers (CDO / VBScript)

For at least 10 years until recently, I've been successfully sending emails through SMTP, by using a simple VBScript with CDO.Message. Set emailObj = CreateObject("CDO.Message") emailObj.From = "myemail@hotmail.com>" emailObj.To =…
Flavio
  • 451
  • 3
  • 26
1
vote
1 answer

asp email form - trying to insert leading space

I used this script on my website to collect enquiry form information from visitors. One of my clients reports that when he receives the email that's generated, Outlook is manipulating the line: email=myclient@myclientsdomain.com ...to include the…
1
vote
2 answers

Does CDO / MAPI still working with Exchange 2013?

I have an old VB application that send mail this way using a Mapi.Session Set objSession = New mapi.Session strProfileInfo = strServeurExchange & vbLf & strSender_I objSession.Logon NewSession:=True, NoMail:=False, ShowDialog:=False,…
JudgeProphet
  • 1,687
  • 3
  • 26
  • 44
0
votes
1 answer

Mail using CDOSYS not working in asp classic application

I have been trying to send email using the CDOSYS object in ASP classic application but neither am I getting an error or email is sending. I am able to see the text "Mail was sent" but the mail is not reaching the destination. Not sure how to debug…
0
votes
1 answer

ActiveX component can't create object: 'CDONTS.Newmail'

I'm getting this error on a windows 2003 server: Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object: 'CDONTS.Newmail' I really don't want to have to change the code to something else. is there some way i can get…
fregas
  • 3,192
  • 3
  • 25
  • 41
0
votes
1 answer

CDONTS TO and From mail to be stored in DB

I have an old application which sends mail using CDONTS in classic ASP. Now, I wanted to store the to and from addresses of every mail sent in a database. Dim a="' & 'FirstName LastName''" trixMail.From= a Dim b = …
user838359
  • 173
  • 1
  • 5
  • 18
0
votes
1 answer

How to add CDO reference in an asp web page

I'm trying to create a new email in asp and send it to a mail server using CDO. I believe I need a reference for CDO or Send Email functionality. In the book it says use this: Set objNewMail = Server.CreateObject("CDONTS.NewMail") Unfortunately…
RetroCoder
  • 2,597
  • 10
  • 52
  • 81
0
votes
0 answers

Classic ASP - Implementing SMTP authentication in sending emails via CDONTS

Below is an already working code in classic ASP to send an email. Can we implement SMTP authentication to this code? I have implemented using CDO, but would like to know if we can implement SMTP authentication for CDONTS. Please see my code…
Biju P Dais
  • 131
  • 1
  • 12
0
votes
1 answer

Does a certificate have to be valid to mail using CDOSYS and SMTPS?

Due to a limitation on our SMTP provder's side, we're having to use System.Web.Mail (deprecated), which is a wrapper around CDOSSYS. Because we'd like to avoid having to change multiple configurations if we switch providers at a later date, we set…
Bret Walker
  • 1,796
  • 5
  • 20
  • 41
0
votes
1 answer

Sending Email from Classic ASP on Windows 2012 R2 Server Core

We have a classic ASP application we just migrated from Windows 2008 R2 to Windows 2012 R2 Core. Apparently Core versions of windows don't include cdosys or cdonts and thus our application can no longer send email. Most of the advice I can find…
Brad
  • 1,979
  • 7
  • 35
  • 47
0
votes
2 answers

Error in class referring - CDONTS

I get an error at the following line in my application: 'create NewMail object' Line 96: Function SendHTMLEMail (strFrom, strTo, strCC, strSubject, strBodyHTML) Line 97: Set objNewMail = Server.CreateObject("CDONTS.NewMail") The error is: Error…
RMN
  • 754
  • 9
  • 25
  • 45
0
votes
1 answer

Form to email script for asp.net

Cdonts used to be the de facto form to email script, I think for classic ASP. Does someone know of a better form to email script I could use for asp.net please? Thanks, James
Sixfoot Studio
  • 2,951
  • 7
  • 26
  • 35
0
votes
1 answer

Why does this email's cc property not work properly in ASP classic?

When a task is assigned to someone, the person that the task was previously assigned to is supposed to also be notified. However, this is not working. I am not sure why this email isn't being sent out to the .Cc email. Does anyone know how to fix…
J.J.
  • 1,128
  • 2
  • 23
  • 62
1
2