[英]Drupal mime mail send in bcc
I'm using the Mime mail module to send e-mail from my drupal site. 我正在使用Mime邮件模块从我的drupal网站发送电子邮件。 But now i would like to send a copy of a mail being send to an admin, i could of course send the mail twice but i would rather like to send it in 1 mail to all recipients at once.
但是现在我想将邮件的副本发送给管理员,我当然可以发送两次,但是我想一次以1封邮件的形式发送给所有收件人。
So i was wondering if it's possible to send a mail in BCC using Mime Mail? 所以我想知道是否可以使用Mime Mail在密件抄送中发送邮件?
你可以这样做:
$message['headers']['Bcc'] = 'email@address.com';
Is it not just this: 不仅是这样:
$headers = array(
'Cc' => <Cc mail address>,
'Bcc' => <Bcc mail address>,
);
Then pass this to the mimemail()
function? 然后将此传递给
mimemail()
函数?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.