Google Voice 保活

可以结合 Gmail 以及 Google script 自动保活,我的脚本自动跑了两年了。 脚本模板:https://pb.ddot.cc/3564kx

操作流程:

  • Google Voice 开启转发到邮箱功能
  • 小号或他人号给自己发信息获得目标邮件地址
  • 在 Google script 里添加脚本
  • 使用 Google script 自动触发器,每周自动执行一次。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
function auto_reply() {
const subject = 'GoogleVoice 保号';
const myPhone = '1234xxx'; // 第一个号
const myEmail = Session.getActiveUser().getEmail();
const targetPhone = '22000'; // 第二个号,或者是别人的号

// 从第一个号发送到第二个号的邮箱地址
// 需要在 Google Voice 设置中开启转发到邮箱功能
// 接收到一次信息后,就能看到这个地址
const targetEmail = '[email protected]';

const htmlBody = `
<h1>Google Voice 保活</h1>
<p>我的邮箱是: ${myEmail} </p>
<p>我的电话是: ${myPhone}</p>
<p>这是从 ${myPhone} 发送给 ${targetPhone} 的消息</p>
<p>每周发送,保活一次</p>
`;

// 纯文本内容
//const textBody = `Google Voice 保活,我的邮箱是: ${myEmail},我的电话是: ${myPhone}。这是从 ${myPhone} 发送给 ${targetPhone} 的消息,每周发送,保活一次。`;
const textBody = `info`;
MailApp.sendEmail({
to: targetEmail,
subject: subject,
htmlBody: htmlBody,
body: textBody,
});
}

建设发送info信息到号码22000,它会自动回复一个信息。这样有助于双方交互保活。