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

Index of Chilkat Blog Posts

October 20, 2005

Send Korean Email in C#

A customer requested a C# example that sends Korean email, so here is a very simple example:

PS> I saved my C# source file as "utf-8″ before cutting-and-pasting the Korean literal string. I’m not sure if that was necessary, but it seemed to be a wise thing to do. After all, if your .cs file is windows-1252, it can’t hardly handle non-Windows-1252 characters…

<font size=2 face=courier>
    private void button18_Click(object sender, System.EventArgs e)
		Chilkat.MailMan mm = new Chilkat.MailMan();
		mm.UnlockComponent("30-day trial");
		Chilkat.Email email = new Chilkat.Email();
		email.From = "Chilkat Support <support>";
		// Cut-and-paste Korean text from:
		email.Subject = "나는 유리를 먹을 수 있어요. 그래도 아프지 않아요";
		email.Body = "나는 유리를 먹을 수 있어요. 그래도 아프지 않아요";
		mm.SmtpHost = "";
		// Chilkat automatically recognizes that the characters
		// are Korean, and encodes it using the ks_c_5601-1987 charset.
		bool success = mm.SendEmail(email);
		if (!success)

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

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