[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::visual_basic

Title:Microsoft Visual Basic
Moderator:TAMARA::DFEDOR::fedor
Created:Thu May 02 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2565
Total number of notes:10453

2500.0. "Help with MAPI code in the Web" by PSDV::ICE_CHICO () Wed Feb 19 1997 14:03

Also posted in:
    
    NT-Developer
    Windows-NT
    
Hi,

 I have a WEB application one of the options is to send mail from a server to 
 users. I'm using Windows NT V4.0, ASP (Active Server Pages), 
 IIS (Internet Information System), VisualScript and I created an OLE DLL file 
 using Visual Basic V4.0  and the system controls MAPISession, MAPIMessage to
 send the mail. The problem the I'm having is the went the application wants to
 do a signon it gets a error = 3 or  Login has failed.

 
   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Here are the lines of code use to sign in: 
 
    'Set the session username and password to nulls

    Form1.MapiSess.UserName = ""
    Form1.MapiSess.Password = ""


    'Open up a MAPI session

    Form1.MapiSess.Action = mapSignOn


   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Any help or pointers on how to do a MAPI session sign on in the web even if
  you use different tools will be appreciated 

                                             Thanks!
                                                     Chico

 Note: The code works nice on a application no using the WEB.


    
T.RTitleUserPersonal
Name
DateLines