VB.NET Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

VB.NET Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML to XML
HTTP
IMAP
Encryption
MHT / HTML Email
PFX
RSA Encryption
S/MIME
Socket
Spider
Tar Archive
Upload
XML
XMP
Zip Compression
Misc

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
SSH Key
SSH
SSH Tunnel
SFTP

Byte Array
VB.NET FTPS
System.IO

Unreleased...
Bzip2
LZW
Bz2
Icon

 

 

 

 

 

 

Send Turkish Email

Download Chilkat .NET for 2.0 / 3.5 Framework

Download Chilkat .NET for 1.0 / 1.1 Framework

Sample source code to send Turkish language email in VB.NET. Note: When saving your source code, it is always best to "Save As" using the utf-8 character encoding if you are embedding international characters within string literals in your source. Utf-8 is the best choice if your source code contains literal strings in multiple languages.

        mailman.UnlockComponent("Anything for 30-day trial")

        mailman.SmtpHost = "smtp.chilkatsoft.com"

        Dim email As New Chilkat.Email
        email.AddTo("Support", "support@chilkatsoft.com")
        email.From = "Chilkat Admin <admin@chilkatsoft.com>"

        ' This VB.NET source file is saved using the utf-8 character encoding.
        email.Subject = "Turkish chars: üiçö"
        email.SetHtmlBody("<html><body><h1>Turkish Email Test</h1><p>üiçö</p></body></html>")
        email.AddPlainTextAlternativeBody("Turkish email test: üiçö")

        ' Make sure we are sending use the iso Turkish charset (iso-8859-9)
        email.Charset = "iso-8859-9"

        Dim success As Boolean
        success = mailman.SendEmail(email)

        If (Not success) Then
            MessageBox.Show(mailman.LastErrorText)
        End If




 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2007 Chilkat Software, Inc. All Rights Reserved.

Mail Component · XML Parser