web form

Discussion in 'Classic ASP' started by Akumaownz, Aug 19, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am fairly new to asp and I am searching for a asp run form for people to submit from my website. I am asuming the form has to be run through by asp through jmail. Can any1 point me in the direction of the code

    Thanks a bunch
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  3. thanks dasp that works great but I need to force the mail to come through as CharSet = "Shift_JIS" Japanese. Atm english comes through fine but the japanese fonts are lost. I tried changing the jmail code to


    if mailComp = "JMail" then
    set mailObj = Server.CreateObject("JMail.SMTPMail")
    mailObj.Silent = true
    mailObj.ServerAddress = smtpServer
    mailObj.Sender = fromAddr
    mailObj.ReplyTo = replyTo
    mailObj.Subject = subject
    addrList = Split(recipients, ",")
    for each addr in addrList
    mailObj.AddRecipient Trim(addr)
    next
    mailObj.ContentType = "text"
    mailObj.CharSet = "Shift_JIS"
    mailObj.Body = body
    if not mailObj.Execute then
    SendMail = "Email send failed: " & mailObj.ErrorMessage & "."

    but no luck
     
  4. Try setting the charset in the meta tag, or the accept-charset attribute in the form tag.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page