how to send email periodically using java!


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 7 of 7

Thread: how to send email periodically using java!

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    36

    how to send email periodically using java!

    Hi All,

    I would like to know the code that would send the email to users periodically(eg.,every month end of the day).

    Please let me know the ways that can be done using java(and oracle).


    Thanks,
    -Jee

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Does this help?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Jan 2009
    Posts
    11
    You need the JavaMail API, which is part of the Java EE package. You can download the whole Java EE suite, but the only jar files you need are mail.jar and activation.jar. This may be helpful:

    http://docs.sun.com/source/819-0079/dgmail.html

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Handy link - thank you Dr. Xi!
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Aug 2008
    Posts
    36
    Hi,

    Thanks for the information provided by you all, it seems to send a mail when we call the postmail().

    I need to send the email every month [starting or ending], is it possible.

    Please provide your information to achieve this goal.

    Thanks in advance,
    -Jee

  6. #6
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    It sounds like you would want the program set up as a service, and run as a scheduled task from a file server. Is that something doable in your environment?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  7. #7
    Join Date
    Aug 2008
    Posts
    36
    Yes Hack,

    I would like to have a class to send email on end of the day every month.
    It has to trigger on that day.

    Thanks,
    -Jee

Similar Threads

  1. how to send email - using vb.net - please help.
    By yasinirshad in forum ASP.NET
    Replies: 2
    Last Post: 08-10-2007, 03:12 AM
  2. send email and receive email ASP module
    By helme_syahiemie in forum VB Classic
    Replies: 1
    Last Post: 10-06-2006, 06:17 PM
  3. Replies: 1
    Last Post: 02-22-2006, 08:46 PM
  4. Send HTML formatted email
    By Ed Teune in forum Enterprise
    Replies: 0
    Last Post: 05-15-2002, 05:26 PM
  5. Send email by invoking Java after trigger runs
    By Brent in forum oracle.general
    Replies: 0
    Last Post: 02-19-2002, 12:45 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center