选择用户后,联系人表格7立即发送给多个联系人 [英] Contact Form 7 send to multiple contacts at once upon user selection

查看:76
本文介绍了选择用户后,联系人表格7立即发送给多个联系人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在Wordpress联系人表格7中创建联系人表格,如果用户选择全部,我想一次向多个收件人发送电子邮件

Hi there I am creating a contact form in Wordpress contact form 7 and I'd like to send emails to multiple recipients at once if user selects "all"

我看了一下,但似乎没有记录,如果您可以一次发送给多个收件人
http://contactform7.com/selectable-recipient-with-pipes/
例如,这是/或

I had a look at this but doesn't seem to document if you can send to multiple recipients at once http://contactform7.com/selectable-recipient-with-pipes/ e.g This is either/or

[select your-recipient "CEO|ceo@example.com"
"Sales|sales@example.com"
"Support|support@example.com"]

我想要类似的东西

[select your-recipient "CEO|ceo@example.com"
"Sales|sales@example.com"
"Support|support@example.com" 
"All|{"ceo@example.com" "sales@example.com" "Support|support@example.com"}]

有可能吗?

推荐答案

您在正确的道路上。 d不过...

You're on the right path. Try this instead though...

"All|ceo@example.com,sales@example.com,support@example.com"

我也将使用select *而不是select,因此该字段必填。

I'd also use select* instead of select so the field is required.

因此,整个事情将是:

[select* your-recipient "CEO|ceo@example.com"
"Sales|sales@example.com"
"Support|support@example.com" 
"All|ceo@example.com,sales@example.com,support@example.com"]

让我知道是否有帮助。

干杯!

这篇关于选择用户后,联系人表格7立即发送给多个联系人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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