在两个日期的基础上发送邮件 [英] Send mail on the basis of two dates

查看:89
本文介绍了在两个日期的基础上发送邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我必须发送

有两个文本框
1->从日期开始
2->迄今
一些下拉列表
最后一格

在截止日期之前,我必须发送邮件
1>如果两个日期都是当前日期,那么我必须发送Dailymail.
2>如果日期差异为7天,则可能是7月24日至7月31日,在这种情况下,我必须发送每周邮件.
3>每月的情况类似.
说明-:
sendMailDaily(-;;根据当前日期使用正确的数据创建Excel,然后编写mailSend()发送邮件.xls将放入附件
sendMailWeekly()
sendMailMonthly()

现在,请尽快答复我.

Hello I have to send

there are two textbox
1->From date
2->To date
some dropdown list
and at last one grid

on the basis of to and from date I have to send mail
1> if both the date are current date than I have to send dailymail.
2>If the date diffrence is 7 days means it can be 24 july to 31 july than in this case I have to send weeklymail.
3>similarly for month.
Description-:
sendMailDaily( --; create Excel with the corret data as per the current date and then write mailSend() to send mail . xls will go in attachment
sendMailWeekly()
sendMailMonthly()

Now Please reply me as soon as possible.

推荐答案

您可以创建一个批处理文件,该文件将使用Windows调度程序执行.

按日期..
You can create a batch file which will execute using the Windows scheduler.

On the date basis..


这篇关于在两个日期的基础上发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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