Forums

ASP

This topic is locked

Problem with CDONTS

Posted 09 Mar 2003 15:32:11
1
has voted
09 Mar 2003 15:32:11 Jaime Romo posted:
i whant to use CDONTS and im recibing this error
error '80040108'
/philips/cdp2003/confirmacion.asp, line 37

this is the code im using
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = Session("mail"
objMail.Subject = "Convencion Phillips"
objMail.To = " "
objMail.Body = "Gracias por registrarse a la Primera Convención de Distribuidores Philips "& vbcrlf&_
"Datos de Registro:" & vbcrlf&_
"Nombre ===> " & Session("nombre" & vbcrlf&_
"Telefono ===> " & Session("telefono" & vbcrlf&_
"Mail ===> " & Session("mail" & vbcrlf&_
"Puesto ===> " & Session("puesto" & vbcrlf&_
"Empresa ===> " & Session("empresa" & vbcrlf&_
"Direccion ===> " & Session("direccion" & vbcrlf&_
"Ciudad ===> " & Session("ciudad" & vbcrlf&_
"Estado ===> " & Session("estado" & vbcrlf&_
"Acompañante ===> " & Session("invitado" & vbcrlf&_
"Actividad ===> " & Session("actividad" & vbcrlf&_
"Datos del vuelo de salida:" & vbcrlf&_
"Vuelo ===> " & Session("vuelo" & vbcrlf&_
"Fecha de salida ===> " & Session("fecha" & vbcrlf&_
"Origen ===> " & Session("origen" & vbcrlf&_
"Destino ===> " & Session("destino" & vbcrlf&_
"Salida ===> " & Session("salida" & vbcrlf&_
"Llegada ===> " & Session("llegada" & vbcrlf&_
"Datos del vuelo de Regreso: " & vbcrlf&_
"Vuelo ===> " & Session("vuelo2" & vbcrlf&_
"Fecha de salida ===> " & Session("fecha2" & vbcrlf&_
"Origen ===> " & Session("origen2" & vbcrlf&_
"Destino ===> " & Session("destino2" & vbcrlf&_
"Salida ===> " & Session("salida2" & vbcrlf&_
"Llegada ===> " & Session("llegada2" & vbcrlf&_

objMail.Send
set objMail = nothing

line 37 is objMail.Body


Visit my home page
www.cancuncoral.com

Replies

Replied 14 Mar 2003 21:07:22
14 Mar 2003 21:07:22 Dave Blohm replied:
are you writing the code in multiple lines like this simply for readability or is this the way the code appears on your page?

Doc
Rangewalk Digital Studios

Reply to this topic