Results 1 to 6 of 6
  1. #1
    sharpi03 is offline Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Default javax.mail.Transport

    Hi,

    I work on an application that sends thousands of email messages via a synchronized block using transport.sendMessage(). We're looking into possibly multi-threading this process, but I cannot find if this would be thread safe.

    Can anyone speak to the multi-threading ability for using transport.sendMessage() ?

    Thanks in advance.

    -Matt

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  3. #3
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    812
    Rep Power
    6

    Default

    Could u please explain it more clearly so that we can also invlove?
    Ramya:cool:

  4. #4
    sharpi03 is offline Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Default

    What information would be helpful?

    Basically, I would like to know if Transport.sendMessage() can handle being fired asynchronously via multi-threading, if any issues would arise. The original developer implemented synchronously for fears of issues arising out of asynchrony, but he is long gone.

    Thanks.

  5. #5
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,371
    Blog Entries
    7
    Rep Power
    20

    Default

    Thousands of email messages? Huuuu! That sounds like spam; no help from me.

    kind regards,

    Jos

  6. #6
    sharpi03 is offline Member
    Join Date
    Oct 2009
    Posts
    3
    Rep Power
    0

    Default

    It is not spam. We send SMS messages to our customers reminding them of installation/repair appointments.

Similar Threads

  1. Replies: 2
    Last Post: 08-24-2011, 04:32 PM
  2. javax.mail.SendFailedException: Invalid Addresses;
    By Anju Jose in forum Advanced Java
    Replies: 2
    Last Post: 03-08-2009, 12:29 AM
  3. A Webservice Platform for Transport Optimization
    By dnaevolutions in forum Java Software
    Replies: 0
    Last Post: 01-18-2009, 06:15 PM
  4. Replies: 2
    Last Post: 05-05-2008, 06:01 AM
  5. I can't import javax.mail
    By katie in forum New To Java
    Replies: 2
    Last Post: 08-04-2007, 05:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •