locked
Cannot implicitly convert system.net.pop3message to system.collection.generic.list string RRS feed

  • Question

  • User-148788041 posted
    Hi
    I have below code.
    Var pop3client= new pop3client();
    Var email= new list pop3message
    Var cat = new list string
    Var em= pop3client.getemail(i)
    cat= pop3client.getemail(i)
    Getting error in pop3client.getemail in cat.
    Wednesday, June 20, 2018 4:43 AM

All replies

  • User409696431 posted

    What is the definition of pop3client.getemail?  Obviously it is not a list of strings.  You have to know what it really is and treat it accordingly.

    Wednesday, June 20, 2018 4:51 AM
  • User-148788041 posted
    I had looped using for loop
    I want to filter email by from or subject.
    How to do it.
    Wednesday, June 20, 2018 5:09 AM
  • User409696431 posted

    I can't tell you.  I have no idea what code/library you are using, so don't know anything about the types or properties of your code.  I suggest you look at the documentation for the code you are using.

    Wednesday, June 20, 2018 4:34 PM
  • User-1171043462 posted

    Refer here for complete information on using Pop3Client

    Fetch and read email messages with attachments from GMAIL POP3 mail server in ASP.Net

    Saturday, June 23, 2018 7:29 PM