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

Conference decwet::nt-developers

Title:MS Windows NT Developers
Notice:See note 1222 for MS bug reporting info
Moderator:TARKIN::LINEIBER
Created:Mon Nov 11 1991
Last Modified:Tue Jun 03 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3247
Total number of notes:15633

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

    
Also included in:
    
    Windows-nt
    Visual_basic
    
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