Print Page | Close Window

Mailbee Mail support

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=18593
Printed Date: 13 April 2026 at 6:53am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Mailbee Mail support
Posted By: Clovis
Subject: Mailbee Mail support
Date Posted: 03 March 2006 at 10:27pm
Hi Borg and everyone,

Here is a bad and not complete support code for http://www.afterlogic.com/ - Mailbee Objects , one of the best emailling component (just my opinion, I'm not linked with them at all) :


        '******************************************
        '***          Mailbee Objects v3.2+        ***
        '******************************************

        'Mailbee Objects v3.2+ component (this version allows authentication)
        Case "Mailbee"

            'Create the e-mail server object
            Set objMailBee = Server.CreateObject("MailBee.SMTP")
           
           
            'Check to see if an error has occured
            'If an error has occured write an error to the page
            If Err.Number <> 0 Then errorMsg("An error has occured while sending an email.<br />Please check that Mailbee Objects v3.2 or above email component is installed on the server.<br />")
       

            With objMailBee
           
                ' Set the license key => MUST BE EDITABLE IN ADMIN SECTION
                .LicenseKey = ""
               
                .ServerName = strMailServer
               
                'Send SMTP Server authentication data
                    If NOT strMailServerUser = "" AND  NOT strMailServerPass = ""  Then
                        .AuthMethod = 2
                        .UserName = strMailServerUser
                        .Password = strMailServerPass
                   End If
                   

                'Who the e-mail is from
                .FromAddr = strFromEmailAddress
                '.FromName = strFromEmailName

                'Who the e-mail is sent to
                .ToAddr strRecipientEmailAddress, strRecipientName

                'The subject of the e-mail
                .Subject = strSubject

                'Set the e-mail body format
                If blnHTML = True Then
                    .BodyFormat = 1
                    .BodyText = strEmailBodyMessage & strEmailBodyAppendMessage
                Else
                    .BodyText = strEmailBodyMessage & strEmailBodyAppendMessage
                End If

                'Send the e-mail
                If NOT strMailServer = "" Then .Send
            End With

            'Close the server mail object
            If objMailBee.Connected Then
                objMailBee.Disconnect
            End If


I hope it helps for WWF v8.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net