ok my next attempt, the error is
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'RemoteHost'
but this remote host was given to me by my web host to send emails from asp forms...
what can i do..
Code:<% @LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From= Request.Form("Email") myMail.RemoteHost = "mrvnet.kundenserver.de" myMail.To="antonyx@gmail.com" strEmailText = "<html><body>" strEmailText = strEmailText & "<img src=""http://www.heathrowminicab.com/exec.jpg"">" strEmailText = strEmailText & "Day: " & Request.Form("day") & vbCrLf strEmailText = strEmailText & "Month: " & Request.Form("month") & vbCrLf strEmailText = strEmailText & "Year: " & Request.Form("year") & vbCrLf strEmailText = strEmailText & "Time - Hours: " & Request.Form("hour") & vbCrLf strEmailText = strEmailText & "Time - Minutes: " & Request.Form("minutes") & vbCrLf strEmailText = strEmailText & "Single or Return: " & Request.Form("journey_type") & vbCrLf strEmailText = strEmailText & "Special Requirements: " & Request.Form("special") & vbCrLf strEmailText = strEmailText & "Pickup Address: " & Request.Form("padd") & vbCrLf strEmailText = strEmailText & "Pickup Airport: " & Request.Form("pairport") & vbCrLf strEmailText = strEmailText & "Pick. Flight No: " & Request.Form("pflight") & vbCrLf strEmailText = strEmailText & "Destination Address: " & Request.Form("dadd") & vbCrLf strEmailText = strEmailText & "Destination Airport: " & Request.Form("dairport") & vbCrLf strEmailText = strEmailText & "Dest. Flight No: " & Request.Form("dflight") & vbCrLf strEmailText = strEmailText & "Title: " & Request.Form("title") & vbCrLf strEmailText = strEmailText & "Name: " & Request.Form("myname") & vbCrLf strEmailText = strEmailText & "Email: " & Request.Form("Email") & vbCrLf strEmailText = strEmailText & "Phone: " & Request.Form("Phone") & vbCrLf strEmailText = strEmailText & "No of Passengers: " & Request.Form("passengers") & vbCrLf strEmailText = strEmailText & "Baby Seat: " & Request.Form("tick") & vbCrLf strEmailText = strEmailText & "Luggage: " & Request.Form("luggage") & vbCrLf strEmailText = strEmailText & "Car Type: " & Request.Form("car") & vbCrLf strEmailText = strEmailText & "Payment Type: " & Request.Form("pay") & vbCrLf strEmailText = strEmailText & "Contact me By: " & Request.Form("contact") & vbCrLf strEmailText = strEmailText & "</body></html>" myMail.BodyText = strEmailText myMail.Send set myMail=nothing %> </body> </html>




Bookmarks