View Full Version : web form
Akumaownz
08-19-2004, 06:54 AM
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
You can try this form mail: http://www.brainjar.com/asp/formmail/
DiscountASP.NET
http://www.DiscountASP.NET
Akumaownz
08-20-2004, 07:58 AM
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
Aristotle
08-23-2004, 07:10 AM
Try setting the charset in the meta tag, or the accept-charset attribute in the form tag.
vBulletin® ©Jelsoft Enterprises Ltd.