在 MySQL 中如果“CURDATE”是今天,明天是什么?

问题描述 投票:0回答:0

我希望明天的预订能收到一封自动邮件作为提醒,但我不确定如何只发送给明天的客户。


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

我在一个实时站点上工作,所以要测试它将发送数百封电子邮件。

mysql email easyphp .aspxauth
© www.soinside.com 2019 - 2024. All rights reserved.