Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hi guys, I have written a java code that displays count of files in folders and the recent file in them and their recent timestamp. Now I need a suggestion to get it as a mail to my team periodically so that logging in and commanding time can be reduced and reused. Since it is a windows OS web server there is no clue in mailing the command's result. Please guide me with a code or a concept.

And I need to know a shortcut to see some specified statuses of Component services(when given dcomcnfg in run/command prompt) like "started","stopped","automatic"."manual".

Please revert back if my questions aren't clear. I need your help.
Posted
Updated 27-Dec-13 6:50am
v2

1 solution

JavaMail API[^]

Using the JavaMail API[^]

Email Through Java[^]

And really easy to read:
Fundamentals on the JavaMail API[^]

PLease us a free, local mailserver like hmail server for development: http://www.hmailserver.com/[^]
PLease be aware of that auto-ban function in there (can be switched off), that official email servers have too.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900