Here there is a requirement in my project, like sending a automatic mail to a particular person,at particular time.

for examples:

If there is an expiry date for a customer's account, a week before the expiry date a mail should be send to the customer as a remainder.
But, at present I use to send mails manually.

If there is any suggestions or replies on this concept are appreciated.

Thanks,

Recommended Answers

All 3 Replies

JavaMail gives you a full email client in Java that you could use, or the Desktop class lets you control your usual email client to do the job. Either way you can use a Java prog to query the database at regular intervals and generate/send the email using either interface.
It shouldn't be difficult - just a bit of Googling and copy/paste!

Thanks
if u have any links related this one please send to me
or u have code also please send to me ...

Thanks
if u have any links related this one please send to me
or u have code also please send to me ...

he is trying to teach you how to catch a fish, instead of giving the fish...

Don't be so lazy :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.