Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Errors with MailBee SMTP Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
anuja
Newbie
Newbie
Avatar

Joined: 14 December 2006
Location: India
Online Status: Offline
Posts: 1
Posted: 14 December 2006 at 11:53pm | IP Logged Quote anuja

Hello,

Iam using Mailbee SMTP to send emails.I have used the following code
Dim objSMTP As New MailBee.SMTP

                objSMTP = CreateObject("MailBee.SMTP")

      
        objSMTP.LicenseKey = "MBC540-31399131A1-13F74FDB9C0E58BBBE1FDA765DCFBE02"
       
etc
Iam getting the error at license key that library has not been registered.Please give the solution for this.
Back to Top View anuja's Profile Search for other posts by anuja
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 15 December 2006 at 3:50am | IP Logged Quote Andrew

If you've downloaded MailBee SMTP component and are going to use it in VB6 application, you should use the following code

Code:
Dim objSMTP
Set objSMTP = CreateObject("MailBee.SMTP")

objSMTP.LicenseKey = "MBC540-31399131A1-13F74FDB9C0E58BBBE1FDA765DCFBE02"



If the application you're developing is a VB.NET application, we recommend using MailBee.NET SMTP component as more powerful solution for .NET platform.

However, it's possible to use MailBee SMTP component in VB.NET project:

Code:
Dim objSMTP As Object

objSMTP = CreateObject("MailBee.SMTP")

objSMTP.LicenseKey = "MBC540-31399131A1-13F74FDB9C0E58BBBE1FDA765DCFBE02"


For MailBee SMTP component, you can find a lot of source code examples at: Start / Programs / MailBee / MailBee Programming Samples / VB.NET.

And for MailBee.NET SMTP component: Start / Programs / MailBee.NET Objects / Sample Applications / WinForms / VB

MailBee Objects should be registered via standard regsvr32 utility (the MailBee Objects installer does it) as follows:
Code:
regsvr32 "C:\Program Files\MailBee\MailBee.dll"


MailBee.NET Objects doesn't require such registration.


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