Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Perl to Send Korean Email Perl script to send Korean email.
# file: SendKoreanEmail.pl
# This source file was saved using the utf-8 character encoding.
use utf8;
# Perl script to send email with Korean characters.
use chilkat;
$mailman = new chilkat::CkMailMan();
$mailman->UnlockComponent('anything for 30-day trial');
# Set the SMTP server hostname
$mailman->put_SmtpHost('smtp.comcast.net');
# If your SMTP server requires a login, set username/password
# $mailman->put_SmtpUsername('myUsername');
# $mailman->put_SmtpPassword('myPassword');
# Create a mail message using Korean characters.
$email = new chilkat::CkEmail();
# Indicate that strings are passed using utf-8
$email->put_Utf8(true);
$email->put_Subject("나는 유리를 먹을 수 있어요. 그래도 아프지 않아요");
$email->put_Body("나는 유리를 먹을 수 있어요. 그래도 아프지 않아요");
$email->put_From('Chilkat Support
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.