Form submittion by email

amjadhiary's Avatar
Light Poster
Hello There,
I have this form
http://www.hu.edu.jo/Conferences/Sci...new_page_4.htm
so am using the code below to collect the information and send them by email to an Recipient :

<%
Dim mail
Set mail = Server.CreateObject("CDONTS.NewMail")
mail.From = "wbmaster@hu.edu.jo"
mail.To = "amjad77@hu.edu.jo"
mail.Subject = "Participation Form"
mail.Body = "1St Annual Scientific day of the College of Allied Health Sciences<br>" & vbcrlf &_
"<br>Family Name : " & Request.Form("f_name") & vbcrlf &_
"<br>First Name : " & Request.Form("l_name") & vbcrlf &_
"<br>Title : " & Request.Form("title") & vbcrlf &_
"<br>Department/College : " & Request.Form("dept") & vbcrlf &_
"<br>Phone : " & Request.Form("phone") & vbcrlf &_
"<br>Email : " & Request.Form("email") & vbcrlf &_
"<br>Presentaion Title : " & Request.Form("pre_tilte") & vbcrlf &_
"<br>Poseter Title : " & Request.Form("poster_title") & vbcrlf &_
"<br>Abstract : " & Request.Form("abstract") & vbcrlf
mail.BodyFormat = 0
mail.MailFormat = 0
mail.Send
Response.redirect "sent.htm"
Set mail = Nothing
%>

The prolem is i cant costomize the email that is deleceried to as a report, the data is too small, i need 2 redesgn the lay out ofn the info that are submitted by the form
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
The prolem is i cant costomize the email that is deleceried to as a report, the data is too small, i need 2 redesgn the lay out ofn the info that are submitted by the form
I could not get what the query is all about. Can you explain a bit more.

Code:
Response.redirect "sent.htm"
Set mail = Nothing
Also after a redirect set mail = nothing has no effect as the page is already redirected and next ststement is never executed.

Thanks
Shabbir Bhimani
0
amjadhiary's Avatar
Light Poster
Ok, this is the report that recieved by email to the administrator, i need to customize it, by changine the font and make more space betwen the data to be more cleared, so what are the tags that are required to put it in the asp code to change the font and where can i add it, and how can i add one empty line between each result

1St Annual Scientific day of the College of Allied Health Sciences

Family Name : Hiary
First Name : amjad
Title : Admin
Department/College : Computer Center
Phone : 962 79 6666977
Email : amjad@joinvisions.com
Presentaion Title : Test
Poseter Title : Test2
Abstract : type text here please type text here please type text here please type text here please type text here please type text here please type text here please type text here please
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
i need to customize it, by changine the font and make more space betwen the data to be more cleared, so what are the tags that are required to put it in the asp code to change the font and where can i add it, and how can i add one empty line between each result
You can use &nbsp; for a space in between but better if you use the font tag of html. You can define some CSS to show a better output.

Thanks
Shabbir Bhimani
0
amjadhiary's Avatar
Light Poster
Ok Man, it works as well, thank you for your help,
you are really doing a great job with this sit, good luck

Amjad
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
thank you for your help
My pleasure