我希望明天的预订能收到一封自动邮件作为提醒,但我不确定如何只发送给明天的客户。
Set rs = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT * FROM enquiries where emailaddress > '' and bookingdate = CURDATE() and statusbar <> 'calledtoconfirm' and lang_code = 'EN' "
'strSQL = "SELECT * FROM enquiries where emailaddress = '' "
rs.Open strSQL, adoCon
我在一个实时站点上工作,所以要测试它将发送数百封电子邮件。