using aspNetPop3 to read email messages

Discussion in 'ASP.NET / ASP.NET Core' started by rotsey, Aug 28, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    Hope someone will answer this.

    I am using aspNetPop3 to download emails.

    I amusing this code




    msg = Server.HtmlEncode(objPOP.GetMessageAsText(i))


    Which gives the whole message including a whole lot of information I don't know about.


    I just want the subject and body.


    To get the subject can I just search the message for "Subject:". Will that be consistent.?????


    I want to look for some strings in the body as well. Do I just search this message.???


    I see that there is a claa aspNetMime that seems to have the message object class. But I don't think Discount ASP has this class


    rotsey
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    aspNetPOP3 only pull the raw data, you'll need to use aspNetMime to read and parse the message.

    ASPNetMIME is installed on the servers.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. ok thanks bruce
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page