title: How to solve the smtpjs error with gmail smtp host
body: <p>I am working with smptjs to send email using javascript. The code was working fine until today morning.</p>
  <p>I am getting the error <em>&quot;Only elasticemail is supported as an SMTP host. To open an account please visit <a href="https://elasticemail.com/account#/create-account?r=20b444a2-b3af-4eb8-bae7-911f6097521c%22" rel="nofollow noreferrer">https://elasticemail.com/account#/create-account?r=20b444a2-b3af-4eb8-bae7-911f6097521c&quot;</a></em></p>
  <p>I tried to search for this error and unsuccessful, any help in this matter would be appreciated.</p>
  <p><strong>This is my js code to send the email</strong></p>
  <pre><code>const name = form.elements[&quot;name&quot;].value;
  const from = form.elements[&quot;email&quot;].value;
  const companyName = form.elements[&quot;company-name&quot;].value;
  const businessType = form.elements[&quot;business-type&quot;].value;
  const isOperatingBusiness = form.elements[&quot;business&quot;].value;
  
  const emailBody = `&lt;h3&gt;Please find the details below&lt;/h3&gt;
  &lt;hr /&gt;
  &lt;span&gt;&lt;strong&gt;Name:&lt;/strong&gt; ${name}&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;&lt;strong&gt;Email Address:&lt;/strong&gt;  ${from}&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;&lt;strong&gt;Contact No:&lt;/strong&gt;  ${phone}&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;&lt;strong&gt;Company Name:&lt;/strong&gt; ${companyName}&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;&lt;strong&gt;Operating Business:&lt;/strong&gt;  ${isOperatingBusiness}&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;&lt;strong&gt;Business Type:&lt;/strong&gt;  ${businessType}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
  &lt;span&gt;Thank you,&lt;/span&gt;&lt;br /&gt;
  &lt;span&gt;appiGo Team&lt;/span&gt;`;
  
  const emailObject = {
        Host: HOST,
        Username: USERNAME,
        Password: PASSWORD,
        To: DEV_MAIL,
        From: FROM,
        Subject: `${subject} ${name}`,
        Body: emailBody,
  };
  
  Email.send(emailObject).then((message) =&gt; {
        if (message == &quot;OK&quot;) return onSuccess();
  });
  </code></pre>
  <p>Thank you in advanced!</p>