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
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
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'