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: 20 April 2006 at 2:53pm | IP Logged Quote Manoel

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

1) The Exchange was configured with
Integrated windows authentication (the
client and the server negociate the windows
security suppport)

and

2) The Protocol is Kerberos/NTLM , first
Kerberos after NTLM

I Think it's default for Exchange2003
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: 21 April 2006 at 11:15am | IP Logged Quote Alex

MailBee SMTP component is fully compatible with Windows 2003 server and Exchange 2003 server. You can send mails as follows (in VB syntax):

Code:

Dim oSmtp
Set oSmtp = CreateObject("MailBee.SMTP")
oSmtp.LicenseKey = "put your license key here"
oSmtp.ServerName = "mail.domain.com"

oSmtp.AuthMethod = 4 ' using NTLM authentication
oSmtp.UserName = "UserName" ' Username of current windows user
oSmtp.Password = "Password" ' Password of current windows user

If oSmtp.Connect Then
  oSmtp.Message.ToAddr = "bill@domain.com"
  oSmtp.Message.FromAddr = "joe@domain.com"
  oSmtp.Message.Subject = "Test message"

  If Not oSmtp.Send Then
    MsgBox oSmtp.ErrDesc
  End If

  oSmtp.Disconnect
End If

As you can see, in order to use NTLM authentication you need to specify credentials of current windows user. In our upcoming MailBee.NET SMTP v2.0 component you can take advantage of NTLM authentication in Windows Integrated Authentication mode (without knowing of credentials). It will be released next week.

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


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 02 May 2006 at 2:17pm | IP Logged Quote Manoel

I think that authentication using kerberos and exchange 2003 is become:

X-EXPS GSSAPI LOGIN

and not

AUTH NTLM LOGIN

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: 03 May 2006 at 7:29am | IP Logged Quote Alex

The upcoming MailBee.NET SMTP v2.0 (will be released in a few days) component doesn't yet support GSSAPI (Kerberos), but it will be implemented in the next version of MailBee.NET SMTP. It will be released in a couple of months.

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

Joined: 11 June 2008
Location: Colombia
Online Status: Offline
Posts: 1
Posted: 12 June 2008 at 5:47pm | IP Logged Quote Innova

Hi, we are a software company that bought The COM based MailBee SMTP component 2 years ago, and we are satisfied with its funcionallity.. but in this month, we need to provide to our client's, the option to send mails using the credentials of the current user logged in Windows(Login y Password). We saw the example in the Forum, where the NTLM authentication is used, BUT IN THAT CASE, knowing the user and password is essential. That's the point, How we acquire those 2 items, in order to CONTINUE USING the MailBee component. Which way/component/Algorithm you recommend to use for that purpose. We dont wanna use a component diferrent to Mailbee for sending mail's with the SMTP component..

please... could you help us...

Thank's a lot
Back to Top View Innova's Profile Search for other posts by Innova
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 13 June 2008 at 6:48am | IP Logged Quote Alex

Only MailBee.NET Objects library supports this functionality. COM (ActiveX) version doesn't.

If you would like to upgrade, there is 50% discount for ActiveX users.

And it's not possible to use another component to grab the password from the system and then pass it to MailBee. Windows never allows applications to retrieve passwords from the system.

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