Author |
|
anuja Newbie
Joined: 14 December 2006 Location: India
Online Status: Offline Posts: 1
|
Posted: 14 December 2006 at 11:53pm | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 15 December 2006 at 3:50am | IP Logged
|
|
|
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 |
|
|