• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Advice on Mail program  RSS feed

 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to create a program that will read inbound mail, parse the mail into another text format, and then send that mail along to another email address. (And no this is not a school project). I've developed the logic for parsing the data, but I'm hoping that someone has a thought about what api's I should be looking at for sending and receiving the mail, and is there some mail program that I should be looking at. If you have some suggestions on where I should be looking at Apache, Tomcat ?? please give me some direction.

Thanks,
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard API for sending and receiving mail is called JavaMail, and there are a few relevant links on the J2EE FAQ.

If you also need a mail server, check out James, which is an open source Java email server. Its Mailet API may be appropriate for your problem.
 
Jimmy Die
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will check it out, thanks much.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!