Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Exchange 2003 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Manoel
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 13 April 2006 at 3:44pm | IP Logged Quote Manoel

Please,
Give-me a complete example using
SMTP component with Windows2003 server
and email server Exchange 2003
Thanks.


Back to Top View Manoel's Profile Search for other posts by Manoel
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 14 April 2006 at 8:08am | IP Logged Quote Alex

We provide two versions of SMTP component: COM based MailBee SMTP and MailBee.NET SMTP based on .NET technology.

Both versions of SMTP component are fully compatible with Windows 2003 server and Exchange 2003 server.

If you are going to use COM version (MailBee SMTP), then you can send mails as follows (in VB syntax):

Code:

Dim objSMTP

' Create mailer component
Set objSMTP = Server.CreateObject("MailBee.SMTP")

' Unlock SMTP component
objSMTP.LicenseKey = "put your license key here"

' Set SMTP server name
objSMTP.ServerName = "mail.server.com"

' Set message properties
objSMTP.FromAddr = "me@mydomain.com"
objSMTP.ToAddr = "you@yourdomain.com"
objSMTP.Subject = "Hi"
objSMTP.BodyText = "This is test message"

' Uncomment the following lines if your SMTP server requires authentication
'objSMTP.AuthMethod = 2
'objSMTP.UserName = "username"  ' or username@mydomain.com (depends on mail server)
'objSMTP.Password = "password"

' Send it!
objSMTP.Send

objSMTP.Disconnect


For mail sending with MailBee.NET SMTP, please have a look at:

http://www.afterlogic.com/mailbee_net/docs/MailBee.SmtpMail. Smtp.Send_overload_1.html

It is an article from MailBee.NET documentation where you can find mail sending samples.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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