Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: spring mail

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default spring mail

    Hi,
    I am facing an issue when working for a project. the situation is like this.

    1. Our application which is build using spring access many other applications.
    2. When we access the other application and if not able to connect to it for some reason like the other appication is down, we will send an email to
    notify them. But what is happening is our application sends email continously until the application is up and spaming the inbox.
    3. Now we need to avoid sending mail if already a mail is sent for the same reason and if the issue is not fixed, every 2hour we need to send another mail.
    Can you please help me how to acheive this, is there any template or any support readily available in spring.

    thanks in advance


  2. #2

    Default Re: spring mail

    Looks like you need some kind of scheduler in Spring? Try to check Spring AMQP.

Similar Threads

  1. [SOLVED] Can anyone mail me an e-book on Swings?
    By Lord Voldemort in forum AWT / Java Swing
    Replies: 3
    Last Post: July 4th, 2011, 07:57 AM
  2. mail through java code
    By Varsha Yadav in forum Java SE APIs
    Replies: 1
    Last Post: June 22nd, 2011, 03:15 AM
  3. Read Mail From A Folder
    By qwert678 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: February 1st, 2011, 11:29 AM
  4. java mail
    By erinbasim in forum Java SE APIs
    Replies: 2
    Last Post: May 13th, 2010, 02:17 AM