Figured it out. It was because the SMTP server was apparently configured to only allow outbound recipients for certain domains. My two tests used different recipient addresses, one of which was a gmail address, which apparently is disallowed.