计划未来的时间,以Java或Python发送电子邮件 [英] Scheduling a time in the future to send an email in Java or Python

查看:128
本文介绍了计划未来的时间,以Java或Python发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个应用程序,我希望它能够稍后安排一个电子邮件发送(可能在运行一个小时之后)。编程语言将是Python或Java。



任何可用于此目的的开源工具?



编辑:我忘了提到它是在测试运行后运行的,所以应用程序将已经关闭,我相信Quartz解决方案将无法正常工作。这是可能的吗?



理想情况下,我想听到SMTP协议有一些隐藏的东西,允许这一点,只需要添加一些标志的消息和电子邮件提供商将会解释为稍后再发送。

解决方案

Quartz Scheduler 可以是这种异步作业的用户。


I'm writing an application and I'd like it to somehow schedule an email to be sent at a later date (likely an hour after it is run). The programming language will be Python or Java.

Any open-source tools available for that purpose?

EDIT: I forgot to mention it's to be run after a test run, so the application will already be down and I believe the Quartz solution wouldn't work. Would this be possible?

Ideally, I'd like to hear that SMTP protocol has some hidden stuff that allows this, and would just require adding some flag to the message and email providers would interpret as to having to send them later.

解决方案

Quartz Scheduler can be user for this kind of asynchronous jobs.

这篇关于计划未来的时间,以Java或Python发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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