dcsimg
Multithreaded java mail
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tolga_evren
Posted On:   Monday, August 6, 2001 03:36 AM

Hi, I am developing an email software by using javamail api. What i want to is to sent mails by using multithreads. I have some numbers of emails that are to be sent. 1. I group these mail address according to their domains. 2. For each domain i create a new thread. 3. Within the new thread , i sent mails by using transport.send , and session.getInstance. But , i realize that i have some problems. Is ity possible to use session and transport classes in multiple threads. Is it possible to use these classes in order to send mails to different domains? Kind Regards, hope    More>>

Hi,

I am developing an email software by using javamail api.
What i want to is to sent mails by using multithreads.

I have some numbers of emails that are to be sent.

1. I group these mail address according to their domains.
2. For each domain i create a new thread.
3. Within the new thread , i sent mails by using transport.send ,
and session.getInstance.

But , i realize that i have some problems. Is ity possible to use
session and transport classes in multiple threads.

Is it possible to use these classes in order to send mails to different
domains?

Kind Regards,
hope

   <<Less

Re: Multithreaded java mail

Posted By:   John_Zukowski  
Posted On:   Friday, August 10, 2001 12:16 AM

You're trying to do the job of your mail server. Your mail server should be grouping like domains together, not you.
About | Sitemap | Contact