Email CDONTS problem

[b][red]This message was edited by lionb at 2006-2-28 6:1:3[/red][/b][hr]
[b][red]This message was edited by lionb at 2006-2-28 6:0:24[/red][/b][hr]
I used it thousands times years ago and it did work perfectly. For some reason it did not work now. Does somebody now why it it did not work
Dim email As New CDONTS.NewMail
With email
.From = "" '[blue]I do have real email address in real code[/blue] :-D
.To = ""
.Subject = "Test"
.BodyFormat = 1
End With
Set eMail - nothing
No Errors or messages. [b]It simply does not send email. In other words, it does nothing![/b]
The same about this code
With eM
Dim eM As New CDO.Message
.To = ""
.From = ""
.Subject = "Test"
.TextBody = "Test"
End With


  • [b][red]This message was edited by lionb at 2006-2-28 9:48:52[/red][/b][hr]
    I figured out the reason. It's quite stupid :-( - CDONTS works by default with Outlook Express and company uses Microsoft Outlook. All my mesages are sitting in C:InetpubmailrootPickup folder ...Is there way to use CDONTS with Microsoft Outloook? I really do not want to use MAPI or Outlook.Application even though those two works relatively smooth on my machine.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion