Results 1 to 3 of 3

Thread: Making SimpleMailMessage serializable?

  1. #1
    Join Date
    Sep 2004
    Location
    Portland, OR
    Posts
    54

    Default Making SimpleMailMessage serializable?

    I've been using the Spring/Quartz integration and found it really useful, esp. its clustering capabilities. I'd like to use the DB backed job store to send mail, however, i've found that the SimpleMailMessage doesn't implement Serializable, so I can't just drop one into the JobDataMap and go my merry way, and expect it to serialize correctly.

    Is there a reason why SimpleMailMessage doesn't/shouldn't/couldn't implement Serializable?

    Thanks,
    Dolan

  2. #2
    Join Date
    Aug 2004
    Location
    New York, NY, USA
    Posts
    33

    Default

    Dolan,

    the SimpleMailMessage has been made Serializable and is available in CVS HEAD.
    Regards,
    Dmitriy.

  3. #3
    Join Date
    Sep 2004
    Location
    Portland, OR
    Posts
    54

    Default

    Thanks Dmitriy -- this makes my code a whole lot more straightforward!

    -Dolan

Similar Threads

  1. Serializable SqlRowSet
    By cardsharp in forum Data
    Replies: 2
    Last Post: Oct 19th, 2005, 04:48 PM
  2. Serializable application context
    By jcarreira in forum Container
    Replies: 1
    Last Post: Jul 20th, 2005, 07:01 PM
  3. Serializable application context
    By jcarreira in forum Web
    Replies: 0
    Last Post: Jul 20th, 2005, 10:17 AM
  4. Replies: 1
    Last Post: Feb 12th, 2005, 07:26 AM
  5. ConfigAttributeDefinition not Serializable?
    By adepue in forum Security
    Replies: 2
    Last Post: Jan 19th, 2005, 03:39 PM

Posting Permissions

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