|
|
 |
Is this possible???
new_learner | Posted 3:43am 28. January 2009 Server Time |
Hello all, I have created a form and the form details are pushed to another asp page where the details of the form are formatted in a nice way..And on this page i have two buttons which says 'Go Back to Edit' and other says 'Send Email'. This is what i would like to do...
I would like to send the formatted page to an email address when the user clicks the button 'Send Email'. And the person who receives the email should be able to view the same formatted page. Is this possible?? If yes, can anybody guide me on how to go about it... Its quite urgent...looking forward for a response..Thank you in advance.
|
ANVAR | Posted 11:29pm 29. January 2009 Server Time |
Hello I am traying to search in database with this code
strSQL = "SELECT * FROM REGISTER WHERE (" & ORDER BY NAME("HOTEL"
tmpSQL = "(NAMELIKE "
Dim Pos Pos = 1 while Pos > 0 Pos = InStr(1, strSearch," ") if Pos = 0 Then 'We have hit the end tmpSQL = tmpSQL & "'%" & strSearch & "%')" strSearch = Mid(strSearch,Pos+1,len(strSearch)) end If wend
mySQL = strSQL & tmpSQL mySQL = mySQL & ")"
Set rsTemp = Server.CreateObject("ADODB.Recordset") rsTemp.CursorLocation = adUseClient rsTemp.CacheSize = NumPerPage
rsTemp.Open mySQL, Conntemp
But i getting an error code like this
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/CFORM/SEARCH.ASP, line 49
strSQL = "SELECT * FROM REGISTER WHERE (" & ORDER BY NAME("HOTEL" --------------------------------------------------^
ANVAR | Posted 11:29pm 29. January 2009 Server Time |
please help me
eric1973 | Posted 4:01pm 2. March 2009 Server Time |
To the original question:
There's several different ways to send email in ASP, ASPEMail, CDOSYS, CDONTS, etc. Myself I usually use ASPEmail and it's pretty simple to use HTML formatting on emails.
|
This post have been closed for new replies
|
|
|
|
 |
|