ASPPop3

arathra

Perch
I'm using ASPPop3 on a site and am having a slight problem with it.

Here's the code I'm using

PHP:
  Dim Mailer
  Set Mailer = Server.CreateObject("POP3svg.Mailer")
  Mailer.RemoteHost = "mail.domain.com"
  Mailer.UserName   = "[email protected]"
  Mailer.Password   = "******"
  Mailer.OpenPop3
 
  Dim iMessages
  iMessages = Mailer.MessageCount

  Dim iLoop
  For iLoop = 1 to iMessages
 	Mailer.RetrieveToMemory iLoop
      	Response.Write Mailer.Subject & "<br>"
  Next 'iLoop
  Mailer.ClosePop3

This works fine. However using the slightly more useful Mailer.Retrieve (instead of RetrieveToMemory) does not work.

Can anyone shed any light on this?
 
Back
Top