
26/06/2002, 01:26
|
 | | | Fecha de Ingreso: diciembre-2001 Ubicación: España
Mensajes: 422
Antigüedad: 23 años, 5 meses Puntos: 1 | |
Re: ! Vaya Preguntita...!, Solo expertos.. Compara tu estructura con esta quizás falte algo:
Código:
<%
Dim strEmail, strName, strComments, Mail
strEmail = request.form("Email")
strName = request.form("Name")
strComments = request.form("Comments")
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "Mail.YOURDOMAINNAME.com"
Mail.From = strEmail
Mail.AddAddress "YOUR EMAIL ADDRESS HERE"
Mail.Subject = "YOUR SUBJECT HERE"
Mail.Body = "Email: " & strEmail & vbCrLf & "Name: " & strName & vbCrLf & "Comments: " & vbCrLf & strComments
On Error Resume Next
Mail.Send
Set Mail = Nothing
IF Err <> 0 THEN Response.Write "Sorry, there was an error and your email was not sent." & Err.Description
END IF
%>
Saludos. |