Answer the question
In order to leave comments, you need to log in
How to read mail configured for windows 7 Mail on Classic ASP?
Set up mail in the control panel. Outlook reads mail, so all the settings are correct.
How to receive emails via Classic ASP (with attachments)?
Found this code on the net:
Set objSession = Server.CreateObject("CDONTS.Session")
objSession.LogonSMTP "MyAccount", "best********@gmail.com"
Set objInbox = objSession.Inbox
Set strMessages = objInbox.Messages
For Each strMessage in strMessages
MsgId=strMessage.Subject
sentby=strMessage.Author
sender=strMessage.Sender
Message=strMessage.TextNext
...
next
objSession.LogOff
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question