想要帮助邮寄命令提示结果 [英] Want help in mailing a command prompt result

查看:69
本文介绍了想要帮助邮寄命令提示结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我写了一个java代码,显示文件夹中的文件数量以及最近的文件及其最近的时间戳。现在我需要一个建议,定期将它作为邮件发送给我的团队,以便登录和命令时间可以减少并重复使用。由于它是一个Windows操作系统Web服务器,因此无法通过邮件发送命令的结果。请指导我一个代码或一个概念。



我需要知道一个快捷方式来查看组件服务的某些指定状态(在运行/命令提示符下给出dcomcnfg时) )如开始,停止,自动。手动。



如果我的问题不清楚,请退回。我需要你的帮助。

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.

推荐答案

JavaMail API [ ^ ]



使用JavaMail API [ ^ ]



通过Java发送电子邮件 [ ^ ]



非常容易理解:

基础知识在JavaMail API [ ^ ]



给我们一个免费的本地邮件服务器,如用于开发的hmail服务器: http:// www。 hmailserver.com/ [ ^ ]

请注意那里的自动禁止功能(可以关闭),官方电子邮件服务器也有。
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.


这篇关于想要帮助邮寄命令提示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆