Omnis Network, LLC Hosting over 200,000 Accounts since 1999 Live Support 877.393.Host

Home Web Hosting Domains Design Services Affiliates Contact Us
Search Results
Title:
Using ASPEmail
Article:
Here is a snippit of code to use to access the ASPEmail feature on Windows 2000 with ASP accounts.
<%
Set Mail = Server.CreateObject("Persits.MailSender") 
Mail.Host = "smtp.smtp-server.com" ' Specify a valid SMTP server
Mail.From = "sales@veryhotcakes.com" ' Specify sender's address
Mail.FromName = "VeryHotCakes Sales" ' Specify sender's name 

Mail.AddAddress "andy@andrewscompany.net", "Andrew Johnson, Jr."
Mail.AddAddress "paul@paulscompany.com" ' Name is optional
Mail.AddReplyTo "info@veryhotcakes.com"
Mail.AddAttachment "c:imagescakes.gif" 

Mail.Subject = "Thanks for ordering our hot cakes!"
Mail.Body = "Dear Sir:" & Chr(13) & Chr(10) & _
     "Thank you for your business." 

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

Mail.Host should be smtp-relay.yourdomain.com

Mail.From MUST be an email address setup on your account.

*For more information about AspEmail's features visit www.aspemail.com
Keywords:

email windows 2000 win2k asp aspemail

Contact Omnis Network Manage Your Account
    https://manage.omnis.com

Technical Support
    Tech Support Contact Form
    support@omnis.com

Call Us Toll-Free
    1-877-393-HOST (4678)

Reach Us By Mail
    3655 Torrance Blvd Suite 230
    Torrance CA, 90503
Browse Knowledge Base
Search Knowledge Base Select the search type:
All Articles
How To
Problem
Bug
FAQ
Keywords:

Any word may be in article
All words must be in article

  HACKER SAFE certified sites prevent over 99.9% of hacker crime.       We accept Visa, Mastercard, Discover, AMEX, Check and Paypal