Component overview: ASP Pop3

Legacy ASP.NET Web Hosting Starting at $7.95

About ASP Pop3

This component was developed by Server Objects: http://www.serverobjects.com/, and it allows you to receive email from a remote server using the pop3 protocol.

Script Example

// Create the object

Set Email = Server.CreateObject("POP3svg.Mailer")
 
// Set Hostname, username, and password
Email.RemoteHost = "mailhost.localisp.net"
Email.UserName   = "myname"
Email.Password   = "mypassword"
 
// This directory is needed for the component to work in
Email.MailDirectory = "d:\usermail\myname"
 
// Open the connect, retrieve message 1, and close the connection
Email.OpenPop3
Email.Retrieve 1
Email.ClosePop3
 
// Now that you have the message retrieved you are able to store the data with the following
Email.MessageID
Email.Date
Email.Subject
Email.FromName
Email.FromAddress
Email.BodyText

For a complete reference guide for this component please see: http://www.brinkster.com/asppop3.htm

Add Feedback