Click here to Skip to main content
15,879,490 members
Home / Discussions / Web Development
   

Web Development

 
QuestionCSS tables Vs. HTML tables Pin
MayyMagdy6-Feb-07 1:39
MayyMagdy6-Feb-07 1:39 
AnswerRe: CSS tables Vs. HTML tables Pin
DavidNohejl6-Feb-07 4:07
DavidNohejl6-Feb-07 4:07 
AnswerRe: CSS tables Vs. HTML tables Pin
MatrixCoder6-Feb-07 7:39
MatrixCoder6-Feb-07 7:39 
AnswerRe: CSS tables Vs. HTML tables Pin
Guffa6-Feb-07 10:26
Guffa6-Feb-07 10:26 
QuestionRe: CSS tables Vs. HTML tables [modified] Pin
MayyMagdy7-Feb-07 1:26
MayyMagdy7-Feb-07 1:26 
AnswerRe: CSS tables Vs. HTML tables Pin
Guffa7-Feb-07 8:50
Guffa7-Feb-07 8:50 
AnswerRe: CSS tables Vs. HTML tables Pin
blue_arc7-Feb-07 1:17
blue_arc7-Feb-07 1:17 
QuestionASP email form Pin
alamb2005-Feb-07 3:04
alamb2005-Feb-07 3:04 
Hi,

I have been setting up a support web site for my company for a while now and after a recent meeting I have been asked to set up a bit more functionality on the web site.

Before I ask the question, what I have so far is a SQL database made up of several fields such as ID, Problem and Fix and I use ASP to pull information from this database and display it from a ver basic crude search engine.

This all works okay but what I have been asked to provide now is the ability to email the information that is pulled from the database to a customer.

I have tried various methods to do this using an html email form and dropping the information into the input field before emailing it. This failed for two reasons the first been the HTML tags were displayed among the text and second I was not able to manually enter the email address I want to send it to.

I then had a dig around for a while and found some ASP code that looked to do what I required but when I tried it the email was not been sent and I have my doubts it would have included all the text I wanted to send.

Please help

Anthony

Email form:

<%@LANGUAGE="VBSCRIPT"%>

<%
Dim email
Dim email_numRows

Set email = Server.CreateObject("ADODB.Recordset")
email.ActiveConnection = MM_freqs_STRING
email.Source = "SELECT * FROM dbo.faqs"
email.CursorType = 0
email.CursorLocation = 2
email.LockType = 1
email.Open()

email_numRows = 0
%>


Email To:

From


<%=(email.Fields.Item("problem").Value)%>
<%=(email.Fields.Item("fix").Value)%>




<%
email.Close()
Set email = Nothing
%>


Mailing code:

<%
'Sends an email
Dim mail
Set mail = Server.CreateObject("CDO.Message")
mail.To = Request.Form("To")
mail.From = Request.Form("From")
mail.Subject = Request.Form("Subject")
mail.TextBody = Request.Form("Body")
mail.Send()
Response.Write("Mail Sent!")
'Destroy the mail object!
Set mail = nothing
%>
AnswerRe: ASP email form Pin
alamb2005-Feb-07 4:30
alamb2005-Feb-07 4:30 
QuestionPDF Signature Pin
Member 36510615-Feb-07 0:57
Member 36510615-Feb-07 0:57 
AnswerRe: PDF Signature Pin
Bradml5-Feb-07 19:17
Bradml5-Feb-07 19:17 
QuestionHow Can I make my web page as www.inbox.com ? Pin
Ahmed Fathy4-Feb-07 23:41
Ahmed Fathy4-Feb-07 23:41 
AnswerRe: How Can I make my web page as www.inbox.com ? Pin
Bradml4-Feb-07 23:47
Bradml4-Feb-07 23:47 
Questionhow to work with different browsers Pin
Amit Sk Sharma4-Feb-07 22:10
Amit Sk Sharma4-Feb-07 22:10 
AnswerRe: how to work with different browsers Pin
Bradml4-Feb-07 22:14
Bradml4-Feb-07 22:14 
GeneralRe: how to work with different browsers Pin
Guffa5-Feb-07 1:13
Guffa5-Feb-07 1:13 
JokeRe: how to work with different browsers Pin
DavidNohejl6-Feb-07 4:17
DavidNohejl6-Feb-07 4:17 
AnswerRe: how to work with different browsers Pin
Pradipta Basu6-Feb-07 8:36
Pradipta Basu6-Feb-07 8:36 
QuestionBasic template :-) Pin
john344-Feb-07 21:45
john344-Feb-07 21:45 
AnswerRe: Basic template :-) Pin
Bradml4-Feb-07 22:13
Bradml4-Feb-07 22:13 
GeneralRe: Basic template :-) Pin
john344-Feb-07 23:08
john344-Feb-07 23:08 
GeneralRe: Basic template :-) Pin
Bradml4-Feb-07 23:10
Bradml4-Feb-07 23:10 
GeneralRe: Basic template :-) Pin
badgrs4-Feb-07 23:50
badgrs4-Feb-07 23:50 
GeneralRe: Basic template :-) Pin
Bradml4-Feb-07 23:54
Bradml4-Feb-07 23:54 
QuestionDoes anyone know why ...? Pin
Rojan Gh.3-Feb-07 10:52
professionalRojan Gh.3-Feb-07 10:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.