MAPI works but not CDONTS? 
Author Message
 MAPI works but not CDONTS?

I am testing two different ways to send email in VB.  The one using
MAPI works fine although it asks for the profile name.  The one using
CDONTS did not give me any error message, but the recipient never got
the email.  We are using an Exchange server and I have Outlook running
on my machine.  Is there some thing on my machine to be set up for
CDNOTS?  HOw can I check if my SMTP client is set up properly?


Private Sub Command1_Click()
    Dim b As New CDONTS.NewMail

CDONTS" & Now, "test"
End Sub

Private Sub Command2_Click()
    MAPISession.DownLoadMail = False
    MAPISession.LogonUI = True
    MAPIMsg.SessionID = MAPISession.SessionID

    MAPIMsg.AddressLabel = "xxx Address Label"
    MAPIMsg.AddressCaption = "xxx Address Label"
    MAPIMsg.MsgSubject = "test using mapi"
    MAPIMsg.MsgNoteText = "test text" & Now
End Sub

Sent via http://www.*-*-*.com/
Before you buy.

Tue, 30 Jul 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. CDONTS newMail attachfile is not working

2. CDONTS.Newmail not working in Win2K

3. CDONTS from VB not working.

4. CDONTS not working just in *one* website

5. CDONTS not working for email on same Domain.

6. CDONTS.Newmail not working in Win2K

7. Mapi Logon with password parameter set not working???

8. MAPI ReadMail function not working

9. Sending MAPI message works from .vbs, but not in ASP

10. CreateObject(MAPI.Session) DOES NOT work on Windows 95

11. Win XP/ MAPI not working

12. MAPI problem: LogonUI true works but not when false


Powered by phpBB® Forum Software