I have a problem. I am looking for source code in JAVA that would allow you to capture e-mails coming in and check to see if the "subject" of the e-mail say's something specific. I f anyone knows how this can be done please respond!
Well the e-mails will be coming and be stored on a server from what i've been told. The program should basically look at the subject line of the e-mails and perform an action according to the subject string. I am newto JAVA so i was wondering if there was code somewhere dealing with the capture of e-mail subject lines?
Well, first of all you would need an email server that java can interface to. The using a POP3 or IMAP connection, you check for any email. How you check mail beyond that I don't know. I would search google for 'processing email in java'. iSeriesCodePoet
IBM iSeries (AS/400) Programmer
Perhaps it might be worth spending a bit of time becoming familair with the protocol of emails. Try looking at suns' web "Fundamentals of the JavaMail API",
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.