Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Mailbee Mail support
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mailbee Mail support

 Post Reply Post Reply
Author
Clovis View Drop Down
Newbie
Newbie


Joined: 03 March 2006
Location: France
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Clovis Quote  Post ReplyReply Direct Link To This Post Topic: Mailbee Mail support
    Posted: 03 March 2006 at 10:27pm
Hi Borg and everyone,

Here is a bad and not complete support code for 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.


Edited by Clovis - 03 March 2006 at 10:30pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.