2016-10-11 27 views
0

您好,我创造了WordPress的联系表7的接触形式,我想一次发送邮件给多个收件人,如果用户选择“全部”联系表格7发送给多个联系人同时根据用户的选择

我看了一下这一点,但似乎并没有记录,如果你能在一次 http://contactform7.com/selectable-recipient-with-pipes/ 例如,这是非此即彼/或

[select your-recipient "CEO|[email protected]" 
"Sales|[email protected]" 
"Support|[email protected]"] 

我想是这样

[select your-recipient "CEO|[email protected]" 
"Sales|[email protected]" 
"Support|[email protected]" 
"All|{"[email protected]" "[email protected]" "Support|[email protected]"}] 
012发送给多个收件人

这可能吗?

回答

1

你在正确的道路上。试试这个,而不是,但...

"All|[email protected],[email protected],[email protected]" 

我也会使用选择*而不是选择所以该字段是必需的。

所以整个事情将是:

[select* your-recipient "CEO|[email protected]" 
"Sales|[email protected]" 
"Support|[email protected]" 
"All|[email protected],[email protected],[email protected]"] 

让我知道是否有帮助。

干杯!

+0

非常感谢! – roshambo

+0

还有一个问题与此有关。在接收电子邮件的邮件正文中,我想在管道之前输出文本,你会知道这是怎么完成的吗? E.g CEO,销售,支持......谢谢! – roshambo

+0

没问题!不要忘记将我的答案标记为已接受,以便人们知道这里有一个解决方案。谢谢! – jkgaddis