Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: RE: Sending mail from VB


Message #1 by "Frankie, Loh Teck Seng" <lohts@p...> on Wed, 19 Jul 2000 02:14:50 +0800
Greeting;

	I have developed an VB application that involved sending
a notification mail to supervisor. The code execute well but
when I deploy the application to clients, the application prompt
user for the email profile, I scrapping my head figuring the problem
but still can't. How can I use the login user's email profile besides
scanning the default directory. I appreciate if someone can help me on
these.

	Below is the code written:

	If mapSess.NewSession Then
        MsgBox "Session already established"
        Exit Sub
    	End If

    	With mapSess
        .userName = "lohts"
        .DownLoadMail = False
        .LogonUI = True
        .SignOn
        .NewSession = True
        .SessionID = .SessionID
    	End With

Thanks and best regards.


  Return to Index