Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/04/2003, 19:27
Avatar de maestro
maestro
 
Fecha de Ingreso: febrero-2002
Ubicación: España
Mensajes: 2.364
Antigüedad: 23 años, 3 meses
Puntos: 1
Pues no buscarias mucho porque si vas a la pagina de la empresa que lo fabrica hay un apartado llamado samples con ejemplo para ASP, PHP, etc
http://www.quiksoft.com/support/samp...lt.asp?p=1&d=1

Description: Send a Message Using the SMTP Object
<%@ LANGUAGE="VBSCRIPT" %>
<html>
<head>
<title>EasyMail ASP Sample</title>
</head>

<body>
Sending mail...<BR><BR>
<%
Set SMTP = CreateObject("EasyMail.SMTP.6")

' change the following 6 property
' assignments to the correct information
SMTP.LicenseKey="ABC Company/182938AF87BC"
SMTP.MailServer = "mail.yourdomain.com"
SMTP.Subject="subject"
SMTP.BodyText = "message"
SMTP.From = "Quiksoft EasyMail Test Form"
SMTP.FromAddr = "[email protected]"
SMTP.AddRecipient "John Doe", "[email protected]", 1
x = SMTP.Send
%>
<% if x=0 then %>
Your message has been sent.
<%else%>
There was an error sending your mail.
<%end if%>
</body>
</html>
__________________
Jose Maria Fernandez
[email protected]
Http://www.expansionweb.net