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

Aspemail

Estas en el tema de Aspemail en el foro de ASP Clásico en Foros del Web. Hola, Tengo este código para efrance de aspemail pero tengo problema spara configurar algunas variables. Este es el ejemplo sin modificarlo con las instrucciones: ' ...
  #1 (permalink)  
Antiguo 17/06/2002, 17:29
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 23 años, 6 meses
Puntos: 0
Aspemail

Hola,

Tengo este código para efrance de aspemail pero tengo problema spara configurar algunas variables. Este es el ejemplo sin modificarlo con las instrucciones:


' IN : sSender (string) : sender of the mail
' : sRecipient (string) : recipient of the mail (can use ; to send to many recipients)
' : sSubject (string) : subject of the mail
' : sText (string) : content of the mail
' : bHTML (boolean) : send HTML or text mail
' OUT : (boolean) : True
Function SendMail(ByVal sSender, ByVal sRecipient, ByVal sSubject, ByVal sText, ByVal bHTML)
Dim oMail
Const ASPEMAIL_HOST = "www.efrance.fr"

Set oMail = Server.CreateObject("Persits.MailSender" )

oMail.Host = ASPEMAIL_HOST
oMail.From = sSender
oMail.FromName = sSender
oMail.AddAddress sRecipient
oMail.Priority = "3"
oMail.Subject = sSubject
oMail.IsHTML = bHTML

If bHTML Then
oMail.Body = "<html><body>" & vbCRLF & Text2HTML(sText) & vbCRLF & "</body></html>"
Else
oMail.Body = sText
End If

On Error Resume Next
oMail.Send
If Err <> 0 Then
Err.Clear
SendMail = False
Else
SendMail = True
End If
End Function



Podrían postearmelo de manera que no me de errores en las variables?

Muchas gracias,



<center><embed src="http://www.efrance.fr/cria/fotos/firma.swf" height=78width=398>
</embed></center>
  #2 (permalink)  
Antiguo 18/06/2002, 08:47
Avatar de ashketchum  
Fecha de Ingreso: julio-2001
Ubicación: En algun lugar de un gran pais
Mensajes: 418
Antigüedad: 23 años, 10 meses
Puntos: 0
Re: Aspemail

Tienes el servicio pro de efrance?...

porque dejame informarte que ya quitaron el servicio de aspemail para sitios gratuitos, tal ves por eso te mande errores (...)

saludos y suerte

<img src="http://www.efrance.fr/masterASPx/firma.jpg" width="465" height="79" border="0" usemap="#URL">
<map name="URL">
<area shape="rect" coords="270,48,347,61" href="http://www.efrance.fr/masteraspx" target="_blank">
</map>
  #3 (permalink)  
Antiguo 18/06/2002, 16:22
Avatar de Laika  
Fecha de Ingreso: octubre-2001
Mensajes: 1.376
Antigüedad: 23 años, 6 meses
Puntos: 0
Re: Aspemail

Peus era eso,

La mala, ¿conoces algun otro hosting que soporte ASPMAIL?? (y el archivo global.asa?)

Gracias

;)

<center><embed src="http://www.efrance.fr/cria/fotos/firma.swf" height=78width=398>
</embed></center>
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 04:31.