Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: japenese.,crillic Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
quest
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 17 May 2004 at 1:31pm | IP Logged Quote quest

Hi,

with the MailBee-SMTP product, can I send mail in cyrillic or japenese alphabets?

Thanks,

M.
Back to Top View quest's Profile Search for other posts by quest
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 17 May 2004 at 1:56pm | IP Logged Quote Alex

MailBee components are fully internationalized.

In particular, MailBee SMTP component includes Charset property which allows you to specify charset of the body.

Message headers can be also presented in any charset (and, if requested, encoded using EncodeHeaderText method).

Also, email can be sent in UTF8 format.

The code below sends email in Cyrillic (Russian is used in Subject and body):

Set objSMTP = CreateObject("MailBee.SMTP")
objSMTP.LicenseKey = "put your license key"

objSMTP.ServerName = "mail.server.com"

objSMTP.FromAddr = "from@sender.com"

objSMTP.ToAddr = "to@recipient.com"

objSMTP.Subject = "eng and 'some cyrillic here'"

objSMTP.BodyFormat = 0

' The most important thing here: set in email
' properties that content is in 1251 codepage
' (Cyrillic Russian)
objSMTP.Charset = "windows-1251"

objSMTP.BodyText = "english language and 'some cyrillic here'"

objSMTP.Send

Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide