Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

  

  Chilkat ActiveX Components

  Chilkat .NET Components

  Chilkat C++ Libraries

  

  

  

  

 

FAQ

DOWNLOAD ReferenceChilkat Log ReferenceVersions

SMTP Authentication

Some SMTP servers require a login and password before allowing you to send mail. Chilkat Mail provides properties where you can set the login and password: SmtpUsername and SmtpPassword.

These properties should be set if the SMTP server requires authentication. If the SMTP server does not require authentication, the properties are ignored and not used.

SMTP servers offer a variety of ways to login, some of which are more secure than others. Chilkat Mail handles the most common login methods:

  • LOGIN
  • PLAIN
  • CRAM-MD5
  • NTLM

The following login methods are planned for future versions:

  • DIGEST-MD5
  • GSSAPI
  • KERBEROS_V4

If your SMTP server requires authentication, Chilkat Mail will choose the most secure of the offered authentication methods. The chosen authentication method is sent to the Chilkat Log object.

Below is an example in Visual Basic that sends an email and provides an SMTP login/password:

    Dim mailman As Object
    Set mailman = CreateObject("ChilkatMail.ChilkatMailMan")
    
    ' Get the free unlock-code from http://www.chilkatsoft.com
    mailman.UnlockComponent "unlock-code"

    mailman.SmtpHost = "smtp.mail.yahoo.com"
    mailman.SmtpUsername = "chilkat_software"
    mailman.SmtpPassword = "my_password"
    
    Set email = New ChilkatEmail
    email.AddTo "Bill Yahoo", "yahoo@chilkatsoft.com"
    email.Subject = "Hello! This is a test e-mail"
    email.Body = "This is an email from Chilkat Software."
    email.From = "chilkat_software@yahoo.com"
    mailman.SendEmail email
    Set email = Nothing
    Set mailman = Nothing


Privacy Statement. Copyright 2000-2008 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, and Windows 95/98/NT4.