Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Integration for VB programmers Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
DHLennon
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 1
Posted: 24 January 2008 at 11:58am | IP Logged Quote DHLennon

Can we have some examples for asp.net 2.0+ Integration for VB programmers please?
Back to Top View DHLennon's Profile Search for other posts by DHLennon
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 25 January 2008 at 5:37am | IP Logged Quote Andrew

We've implemented a short ASP.NET 2.0 application in VB.NET using this reference.

Everything works fine. The sample code is below:

Code:
Imports WebMailPro

Partial Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim integr As New Integration("c:\inetpub\wwwroot\webmail\data", "http://localhost/webmail/WEB/")

        Try
             integr.UserLoginByEmail("test@localhost",  "test", "test", WMStartPage.Mailbox)
        Catch ex As WebMailException

        End Try


    End Sub

End Class


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide