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


Downloads
.NET 2.0
.NET 1.*
.NET x64
VC++ 6.0
VC++ 7.0
VC++ 8.0
Java
Ruby
Perl 5.8.*
Perl 5.10.*
Python
Bounce ActiveX
Charset ActiveX
Email ActiveX
FTP2 ActiveX
Crypt ActiveX
HTML-to-XML ActiveX
HTTP ActiveX
IMAP ActiveX
MHT ActiveX
MIME ActiveX
RSA ActiveX
Socket ActiveX
Spider ActiveX (free)
String ActiveX (free)
Tar ActiveX
Upload ActiveX (free)
XML ActiveX (free)
XMP ActiveX
Zip ActiveX

Index of Chilkat Blog Posts

February 12, 2008

C# to Send Big5 Email

Sending Big5 email using Chilkat’s email component is as easy as setting the Chilkat.Email.Charset property = "big5″. Here is an example:

...
   //  Create a new email object
    Chilkat.Email email = new Chilkat.Email();
	
    email.Subject = "常用字";
    email.Body = "常用字";
    email.From = "Chilkat Support <support@chilkatsoft.com>";
    email.AddTo("Matt", "matt@chilkatsoft.com");
	
    email.Charset = "big5";
	
    success = mailman.SendEmail(email);
    if (success != true)
    {
        MessageBox.Show(mailman.LastErrorText);
    }
    else
    {
        MessageBox.Show("Mail Sent!");
    }
	

Note: If the email.Charset property was left unset, the Chilkat email component would automatically recognize the Chinese characters and choose GB2312 as the default charset. By setting the Charset property = "big5″ the entire email is encoded using Big5 when sent.


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.