如何使用xml在电子邮件主题中插入昨天的日期?

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

<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <From>[email protected]</From> <!--Must be valid email-->

    <To>[email protected]</To> <!--Must be valid email-->

    <CC>[email protected]</CC> <!--Must be valid email-->

    <Subject>The report is for  </Subject> <!--Must be yesterday's date-->

<Message>D:\Msg.txt</Message> <!--Set the email content-->

</Config>

这是我用来填写电子邮件详细信息的代码,我希望获得主题的昨天日期。

xml date html-email
1个回答
0
投票

使用在适当位置编辑文件:

© www.soinside.com 2019 - 2024. All rights reserved.