Return To Home Page - Link to "The Wanker" - Contact Us


Return To Home Page

Send Email Using ASPEmail from Persits Software



 <%
 Dim ObjSendMail
 Set ObjSendMail = Server.CreateObject("Persits.MailSender")
 
 ObjSendMail.Host = "mail.somesite.com"
 ObjSendMail.From = "someone@somesite.com"
 ObjSendMail.FromName = "someone"
 ObjSendMail.AddAddress "somebodyelse@somesite.com"
 ObjSendMail.Subject = "your subject"
 ObjSendMail.Body = "your email body"
  
 'If Your email server requires SMTP Authentication uncomment and use the values below  
  'ObjSendMail.Username = "SMTPUsername"
  'ObjSendMail.Password = "SMTPPassword"
 
 On Error Resume Next
 
 ObjSendMail.Send
 
 If Err <> 0 Then
    Response.Write "Error encountered: " & Err.Description
 End If
 
 Set ObjSendMail = nothing
%> 


Banner
ASP (Active Server Pages) is a technology developed by Microsoft. Pages using ASP are primarily developed in JScript, or VBScript and are integrated into the HTML of your Web pages. The ASP code is compiled on-the-fly by the server and the resulting output is standard HTML. By using ASP, Web pages can be dynamic, full of ever-changing content, and browser independent.
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com,www.abay.com

 

Link to "The Wanker"
© 2007 CodeWanker - Active Server Pages Articles, Code Snippets, & Tutorials