修改邮件内容

This commit is contained in:
CounterFire2023 2024-10-28 12:33:02 +08:00
parent 23e793df4c
commit 89f30f775a
2 changed files with 40102 additions and 7 deletions

40044
configs/email_list.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,64 @@ const USED_CODE_FILE = 'mail_out/used_code.txt';
const HISTORY_FILE = 'mail_out/mail_history.txt'
const HISTORY_FILE_FAIL = 'mail_out/mail_history_fail.txt'
const mailText='Go claim $CEC to Bitget now with 0 gas fee and grab a share of 1M $CEC rewards!! https://counterfire.games/claim \n\nDont miss the chance to increase and maximize your $CEC holdings.';
const mailText='';
//TODO:: change image url
const mailHtml = `
<p><img src="https://res3.counterfire.games/bitget/cec_bitget.jpg" width="800"/></p>
<p>Go claim $CEC to Bitget now with 0 gas fee and grab a share of 1M $CEC rewards!! <a href="https://counterfire.games/claim">https://counterfire.games/claim</a> </p>
<p></p>
<p>Dont miss the chance to increase and maximize your $CEC holdings.</p>
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<style type="text/css">
body { background-color: #fff; color: #333; }
@media (prefers-color-scheme: dark) {
body { background-color: #333; color: #fff; }
.force-light-mode { background-color: #fff !important; color: #333 !important; }
}
.email-container { padding: 10px; }
a { color: #0654ba; }
a.force-light-mode { color: #0654ba !important; }
img { max-width: 100%; height: auto; }
h2{margin-top: 20px; font-size: 1.2em;}
p{margin: 10px auto;}
</style>
</head>
<body>
<div class="email-container">
<p>Dear Counter Fire Community,</p>
<p>We are thrilled to announce that a hot update will be implemented on <b>Oct 23rd 14:00PM (UTC +8)</b>! </p>
<p>This update will introduce exciting new features and improvements designed to enhance your gaming experience. Heres what you can expect: 🎮</p>
<p><img src="https://res.counterfire.games/img/medium_poster_a.jpg" /></p>
<p>&nbsp;</p>
<h1>Update Highlights:</h1>
<h2>🔥 Piggy Bank:</h2>
<p>With this new feature, everyone can earn Gold Coins for free!</p>
<p>N-rank heroes have 3 times to play gold, the gold obtained after using it in GOLD mode will be stored in the piggy bank, which can be opened once a day through smash or completing tasks to get a certain amount of gold. The number of times will be refreshed at 0:00 UTC, and the number of times you have not opened the pot on that day will be zeroed out after the refreshing.💪</p>
<h2>🌟 Newcomer Tasks:</h2>
<p>A 7-day task system has been introduced to help new players get up to speed. Complete tasks to earn generous rewards! 🎁</p>
<h2>🛒 Hashrate Store:</h2>
<p>The Hashrate Store is online now! Players can use in-game currency to purchase items and enhance your gaming journey! 🤑</p>
<p>More details: <a href="https://link.medium.com/PxFpR2CsTNb">https://link.medium.com/PxFpR2CsTNb</a></p>
<hr/>
<h2>Big news coming - CF Season 1 Tournament! Stay tuned for Oct 28th! </h2>
<p>Thank you for your continued support of Counter Fire! We cant wait to see you in-game and hope you enjoy the new features and improvements! Happy gaming! 🎉</p>
<p>Best Regards,</p>
<p>The Counter Fire Team</p>
<p>&nbsp;</p>
<hr/>
<h2>About Counter Fire</h2>
<p>Counter Fire is the ultimate fusion of MOBA and Battle Royale gaming on mobile, powered by blockchain assets to deliver a casual, fast-paced MOBA gaming experience on mobile. It will change your gaming journey and redefine crypto gaming. Get ready for the gaming revolution brought by Counter Fire!</p>
<p>&nbsp;</p>
<h2>Official Links</h2>
<p>Twitter: <a href="https://x.com/playCounterFire">https://x.com/playCounterFire</a></p>
<p>Discord: <a href="https://discord.gg/counterfire">https://discord.gg/counterfire</a></p>
<p>Youtube: <a href="https://youtube.com/c/CryptoElitesBattlegrounds">https://youtube.com/c/CryptoElitesBattlegrounds</a></p>
<p>Medium: <a href="https://medium.com/@CounterFire">https://medium.com/@CounterFire</a></p>
<p>🍎App Store : <a href="https://apps.apple.com/us/app/counter-fire/id6444462915">https://apps.apple.com/us/app/counter-fire/id6444462915</a></p>
<p>🌐Google Play : <a href="https://play.google.com/store/apps/details?id=com.cege.games.release">https://play.google.com/store/apps/details?id=com.cege.games.release</a></p>
</div>
</body>
</html>
`;
const sleep = (ms) => {
@ -52,7 +103,7 @@ const sendOneMail = async (to) => {
const msgData = {
from: 'Counter Fire <noreply@counterfire.games>',
to: to,
subject: 'Counter Fire TGE confirmed! Check your CEC airdrop eligibility and earn more now!',
subject: 'Exciting Hot Update for Counter Fire! ',
text: mailText,
html: mailHtml,
};