Discussion Locked

Mail formatter

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have just made a webpage which has a form which is sent to my mailbox when you press submit. when i open it up it has lost of code mixed with readable text. My friend had the same problem and solved it using a mail 2 formatter (i think) called cookit. Unfortunately he has forgotten where he downloaded it from. i would be grateful if anyone knows a website whee i can obtain this
thanks
luke

3 replies

by anthony.biondo

point the form to an asp page and create the body.

<%

body = body & "line 1" &vbnewline
body = body & "line 2" &vbnewline

Set oSMTP = Nothing
Set oSMTP = Server.CreateObject("CDONTS.Newmail")
oSMTP.From = "KMHP_Fraud_Form"
oSMTP.To = mailsubscribers
oSMTP.Subject = "mysubject"
oSMTP.Body = body
oSMTP.BodyFormat = 0
oSMTP.MailFormat = 0

oSMTP.Send
Set oSMTP = Nothing

%>

This discussion is closed to new replies.