best web hosting services
HOME   ABOUT US   HOSTING   SUPPORT   CONTACT  
Premium Reseller Hosting Solutions
Support Center » Downloads » ASPEmail sample code
 ASPEmail sample code
Description <%
Set Mail = Server.CreateObject("Persits.MailSender")

Mail.Host = "mail.yourdomain.com" ' Specify a valid SMTP server
Mail.From = "info@demowebsite.com" ' Specify sender's address
Mail.FromName = "PremiumReseller.com" ' Specify sender's name

Mail.Username = "Sender Email User"
Mail.Password = "Sender Email Password"

'Recipient email
Mail.AddAddress "networkmonitoring@gmail.com", "Network Monitoring"
Mail.AddReplyTo "sales@premiumreseller.com"

Mail.Subject = "Sample Send Mail"
Mail.Body = "Hello. This is a test email. Thank you."

On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
%>


Download Details
Filename: aspemail.asp
Total Downloads: 331
Size: 0.66 KB
# Comments:0
Creation Date:11 Nov 2008 06:14 AM
Modified: 16 Nov 2009 07:20 PM
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Download Options
 
Shared Hosting - Linux Reseller Hosting - Windows Reseller Hosting - Business Reseller - Managed Dedicated Server
Site Map - Articles - Resources - Testimonials - Server Uptime - Service Level Agreement - Refund Policy - Terms Of Service - Contact Us
Copyright 2005-2008 © PremiumReseller.Com All Rights Reserved