问题描述
通过mailgun发送电子邮件时,我必须指定一个收件人"收件人吗?
When I'm sending email via mailgun, must I specify a 'to' recipient?
在某些情况下,我希望只指定密件抄送"收件人.
In some cases, I'd prefer to specify only 'Bcc' recipients.
编辑:我已经尝试过自己完成此操作,并且收到了
EDIT: I've already tried to do this on my own and I receive a
'Bad Request - 'to' parameter is missing' error.
我只是想知道是否还有其他方法,因为通常只要指定抄送或密件抄送收件人,您就可以在没有收件人"收件人的情况下发送电子邮件.
I just wanted to know if there's another way around this, because typically you can send an email without a 'To' recipient, so long as you specify a CC or Bcc recipient.
推荐答案
您不能仅使用bcc
发送邮件.我使用了一个技巧,在这个地址中使用发自和发往相同地址(例如[email protected]
之类),然后用我需要的东西填满密件抄送插槽.
You may not send mail only using bcc
. There is a trick I use in which I make the from and to the same address (something like [email protected]
) and then fill up the bcc slot with whatever I need.
您可以使用不需要公开其他电子邮件地址的邮件列表发送邮件.
You may send mail using mailing lists that does not require you to expose other email addresses.
https://documentation.mailgun.com/user_manual.html#mailing-lists
这篇关于我是否必须指定“收件人"收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!