gpt4 book ai didi

php - 使用 Swiftmailer 时如何设置回复

转载 作者:IT王子 更新时间:2023-10-29 01:13:43 25 4
gpt4 key购买 nike

使用Swiftmailer时如何设置reply-to。文档提到了函数 setReplyTo() 但没有关于如何使用它的具体说明。

我们将不胜感激。

最佳答案

我可以确认 setReplyTo 方法的工作方式与(例如)setCC 相同。方法。

$message->setReplyTo(array(
'person1@example.org',
'person2@otherdomain.org' => 'Person 2 Name',
'person3@example.org',
'person4@example.org',
'person5@example.org' => 'Person 5 Name'
));

关于php - 使用 Swiftmailer 时如何设置回复,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6934657/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com