Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Launching Mail Program

 
B Power
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Swing app connected to a database which contains about 100 email addresses. I'm wondering if it's possible to launch the default mail client to write a new email to all of these addresses.

Something like what mailto: does in html is what I'm thinking of I suppose (but of course a mailto: line can only contain 256 characters and I would need quite a bit more )

I've had no luck searching on this and any help would be appreciated.

Thanks
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There really isn't a way to do this yet. The JDIC project is something that will allow this but I don't think they have implemented it yet.

If you are just sending an Email why not just use the JavaMail API and send it yourself. Screw Outlook. It's really easy to use that API.
 
B Power
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply,

Heh, I guess I was looking for a quick way out. Its funny, this feature will be used once or twice a year and will take more effort than anything else.

Btw, do you think the fact that the number of emails could get to 100+ will cause me any problems?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by B Power:
Thanks for the reply,

Heh, I guess I was looking for a quick way out. Its funny, this feature will be used once or twice a year and will take more effort than anything else.

Btw, do you think the fact that the number of emails could get to 100+ will cause me any problems?


Nope, we use the JavaMail API here at Javaranch to send out all our mailings (Javaranch Journal, Book Promotions, etc). And we send out to about 30,000 members.
 
B Power
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm i might just about manage it then ,

Thanks again
 
I was born with webbed fish toes. This tiny ad is my only friend:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!