Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 4th, 2005, 02:39 PM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jz552
Default ASPMail / Shift_JIS

Hi everyone,

I was wondering if someone could help me out here. I am trying to send out emails In Japanese using ASPMail 5.0 and all I get in the email is gibberish. The Email part works but the text is like this: ?A?á?d???F?@?2?g?p?E?E?e?u?ñ?E?

Here is my code below. Maybe I am missing something. I read some documentation on ASPMail and I did read something about ASPMail not supporting all character sets, but it didn’t specify which ones.


Here is the code. I would be very thankful for any help from anyone.


        Dim Mailer
    Set Mailer = Server.CreateObject("Persits.MailSender")
    Mailer.Host = "My host is here"
    Mailer.Port = 25
        Mailer.From = "[email protected]"
        Mailer.FromName = Mailer.EncodeHeader("Sample", "Shift_JIS")
        Mailer.AddAddress EmailTo
        Mailer.Subject = Mailer.EncodeHeader (vsubject3,"Shift_JIS")
        Mailer.Body = vtemp2'Request("Body")
        Mailer.CharSet="Shift_JIS"'.CharSet = "shift_jis"
        Mailer.ContentTransferEncoding = "Quoted-Printable"

        Mailer.Send
    Set Mailer=nothing






Similar Threads
Thread Thread Starter Forum Replies Last Post
aspMail Morn Classic ASP Basics 3 February 26th, 2007 06:51 PM
aspMail Morn ASP.NET 2.0 Basics 1 February 25th, 2007 09:40 PM
ASPMail embaded images kalpitkk Classic ASP Professional 1 January 9th, 2006 01:06 PM
ASpMail chocobabe100 Classic ASP Basics 1 May 5th, 2005 11:27 PM
AspMail mmarkym Classic ASP Components 2 December 21st, 2003 01:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.