Customer Service: support@idservers.com
  A Service by IDSERV LLC.


AspEmail 4.5


AspEmail 5.0 is an active server component for sending e-mail messages using an external SMTP server in an ASP or VB environment. AspEmail 5.0 supports multiple recipients, multiple file attachments, HTML format, embedded images and sounds, non-US ASCII character sets, secure mail, and high-performance message queuing.

The usage is very simple :

<%


' change to address of your own SMTP server
strHost = "mail.idservers.com"
If Request("Send") <> "" Then
Set Mail = Server.CreateObject("Persits.MailSender")
' enter valid SMTP host
Mail.Host = strHost

Mail.From = "info@test.com"
Mail.FromName = "John Doe"
Mail.AddAddress Request("To")

' Attach two files in the same directory (any file type can be attached)
strPath = Server.MapPath(".")
Mail.AddAttachment strPath & "\ps_logo.gif"
Mail.AddAttachment strPath & "\wehave.gif"

' message subject
Mail.Subject = "the files!"
' message body
Mail.Body = "The files are attached!."

Mail.Send ' send message
Response.Write "Success!"
End If
%>

<HTML>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="Attachments.asp">
Enter email: <INPUT TYPE="TEXT" NAME="To">
<INPUT TYPE=SUBMIT NAME="Send" VALUE="Send">
</FORM>
</BODY>
</HTML>

 

Powered by Cisco
Powered by .NET
Windows 2000 Servers
Powered by Dell PowerEdge Servers
Powered by IDServers