Foros del Web » Programando para Internet » ASP Clásico »

Cdosys

Estas en el tema de Cdosys en el foro de ASP Clásico en Foros del Web. Tengo un aplicacion directorio en asp que en el anterior host me funcionaba ok. Tenia soporte para cdonts. Al cambiar de host este no tiene ...
  #1 (permalink)  
Antiguo 15/11/2008, 12:08
 
Fecha de Ingreso: marzo-2004
Ubicación: Madrid (España)
Mensajes: 837
Antigüedad: 21 años, 1 mes
Puntos: 9
Cdosys

Tengo un aplicacion directorio en asp que en el anterior host me funcionaba ok. Tenia soporte para cdonts. Al cambiar de host este no tiene soporte para cdonts sino para cdsoys.
A ver si por favor me podrias echar una mano ya que en el select del email he implementado el siguiente código:

'CDOSYS CODE STARTS HERE
Case "cdosys"
Set msg = CreateObject("CDO.Message")
msg.Subject = SubjectText
msg.From = OwnerFromEmail
msg.To = ToAddress

If ccAddress <> "" Then msg.Cc = ccAddress
If bccAddress <> "" Then msg.Bcc = bccAddress

msg.TextBody = EmailBodyText

'SERVER SETTINGS / AUTHENTICATION
If Application(COMPANYNAME & "SMTPUserName") <> "" Then
'REMOTE SMTP WITH SMTP AUTHENTICATION
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of Remote SMTP Server
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtp.portal.jwebmasters.org
'Type of authentication, NONE, Basic (Base64 encoded), NTLM - 1 = Basic
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
'Your UserID on the SMTP server
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusername") = p589745
Application(COMPANYNAME & "SMTPUserName")
'Your password on the SMTP server
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendpassword") = d1245687
Application(COMPANYNAME & "SMTPPassword")
'Server port (typically 25)
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
'Use SSL for the connection (False or True)
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
'Connection Timeout in seconds (the maximum time CDO will try to establish
a connection to the SMTP server)
msg.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") =
60

msg.Configuration.Fields.Update
'==End remote SMTP server configuration section==
End If ' Application(COMPANYNAME & "SMTPUserName")

msg.Send
'CODE ENDS HERE

Gracias

NO tengo muy claro el tipo de 'Type of authentication, NONE, Basic (Base64 encoded), NTLM - 1
  #2 (permalink)  
Antiguo 16/11/2008, 19:45
Avatar de JuanRAPerez
Colaborador
 
Fecha de Ingreso: octubre-2003
Mensajes: 2.393
Antigüedad: 21 años, 6 meses
Puntos: 27
Respuesta: Cdosys

ummm
leamos un poco te parece??'

http://www.w3schools.com/asp/asp_send_email.asp
__________________
JuanRa Pérez
San Salvador, El Salvador
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:12.