title: MailChimp Error recipient-domain-mismatch
body: <p>Well, here's the whole CONTEXT -</p>
  <p>i've a domain called - (basically.email)</p>
  <ul>
  <li>the domain was from name.com</li>
  </ul>
  <p>i set that domain with vercel</p>
  <p>i've setted it up with Mailchimp and was successful able to add the users to the user list then next i wanted to send email to a  test user</p>
  <p>I went to mandrill and put the dns and the SPIF records via the vercel domains section on vercel</p>
  <p><a href="https://i.stack.imgur.com/sGW2e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGW2e.png" alt="enter image description here" /></a></p>
  <p>it asked me something like this i copied the TXT record and put that to my vercel records like this</p>
  <pre><code>NAME              TYPE               VALUE 
  basically.email    TXT                thatvalue in the image
    
  </code></pre>
  <p>it was automatically verified and i don't remember on what email id I gave in that email address column, but it said</p>
  <p>as far as i remember it said something like this-
  SUCCESSFUL SENT AN verification EMAIL TO udhay1co.de@basically.email
  and i don't own a email/gmail like this..</p>
  <p>moving on i followed up the docs</p>
  <p>and ended up with a code looking like this</p>
  <pre><code>const mailchimp = require(&quot;@mailchimp/mailchimp_transactional&quot;)(&quot;THE-API-KEy&quot;);
    
    const message = {
      from_email: &quot;newsletters@basically.email&quot; ,
      subject: &quot;Hello world&quot;,
      text: &quot;Welcome to Mailchimp Transactional!&quot;,
      to: [
        {
          email: &quot;THEMAILID&quot;,
          type: &quot;to&quot;
        }
      ]
    };
    
    async function run() {
      const response = await mailchimp.messages.send({
        message
      });
      console.log(response);
    }
    run();
  </code></pre>
  <p>i ended up hitting this error</p>
  <pre><code>[
    {
      email: 'theEMAIL-ID',
      status: 'rejected',
      _id: 'hidden',
      reject_reason: 'recipient-domain-mismatch'
    }
  ]
  </code></pre>
  <p>and i've no clue how to fix this..</p>