Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Send Turkish EmailDownload: Chilkat .NET Assemblies 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
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.