Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

E-mail capturing

Status
Not open for further replies.

laitian

IS-IT--Management
Feb 26, 2003
2
US
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!

Thanks
 
>> capture e-mails coming in

uh? need more context. coming into what?

-pete
 
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?
 
>> stored on a server

well you have to deal with "how" they are stored on the server.

-pete
 
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
[pc2]
 
>> you would need an email server that java can interface to.

uh? don't get that, why?

-pete
 
Okay... that was confusing.

Clarification: You need to use either a POP3 or IMAP connection to your email server to retrive email. iSeriesCodePoet
IBM iSeries (AS/400) Programmer
[pc2]
 
ok, yeah... my confusion was that the poster never states there is an "email server" to interface with.

>> Well the e-mails will be coming and be stored on a
>> server from what i've been told.

ambigious yes?

-pete
 
>> ambigious yes?

don't know what that means but i meant ambiguous LOL

darn fingers... can't trust em any farther than you can throw em!

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top