Infusionsoft发送邮件方法添加多个cc_address或bcc_address

Infusionsoft send email method to add multiple cc_address or bcc_address

在使用infusionsoftrubyemail_send方法email_send中寻找在cc_addresses中添加多个email_address的方法

我尝试了以下所有方法,但 none 有效

第一次尝试:

Infusionsoft.email_send([contact1,contact2],"support@ex.com","test@acnt.in","'test2@acnt.com','test@acnt.in'","","multipart","Testmail","","This the testmail")

第二次尝试:

Infusionsoft.email_send([contact1,contact2],"support@ex.com","test@acnt.in",
['test@acnt.com','test2@acnt.in'],"","multipart","Testmail","","This the testmail")

第三次尝试:

contacts = ["test@acnt.in","test@acnt.com"]

Infusionsoft.email_send([contact1,contact2],"support@ex.com","test@acnt.in",
contacts ,"","multipart","Testmail","","This the testmail")

我想向多个用户发送邮件,收到邮件的用户应该也能看到列表中的其他联系人。

参考 rubyinfusionsoftgem 上的文档

所有轮胎都找到答案后

Infusionsoft.email_send([contact1,contact2],"support@ex.com","tes@acnt.in","test2@acnt.com test3@acnt.in","","multipart","Testmail","","This the testmail")

为每个添加不带逗号或双引号的电子邮件 ID,并使用 space 将所有电子邮件绑定在双引号下效果很好

"tes@acnt.com test2@acnt2.in"

有了那个

[contact1,contact2] 

应包含所有联系人 ID,必须在抄送中添加或添加到没有联系人 ID 邮件无法投递的地址

上面显示的方法适用于 "to address" 和 "cc addresses"