Do I have to specify a 'to' recipient?

前端 未结 2 1967
无人共我
无人共我 2021-01-28 14:13

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

相关标签:
2条回答
  • 2021-01-28 14:29

    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 info@mydomain.com) 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/en/latest/api-mailinglists.html

    0 讨论(0)
  • 2021-01-28 14:34

    Eventually, the SMTP call is being translated to a call to the SMTP provided which is usually not forced to have a 'to' recipient, but the best way is to perform a test where you send an email with only 'bcc' recipient (you can send it to yourself as a test'

    0 讨论(0)
提交回复
热议问题