设置Google Voice自动回复短信保号的方法

点击数:2022

前言:之前为了注册美国阿里账号,在某宝上花了11元买了个GV(Google Voice)号码,卖家给了一个gmail邮箱和密码,拿过来之后首先修改密码,然后修改辅助邮箱,也可以添加辅助电话号码,这样这个账号就是自己的了。使用方法是浏览器打开GV的官网,登录谷歌账号就可以了。可以免费给美国、加拿大境内打电话,也能免费收发短信,用来注册账号什么的非常方便。谷歌账号是一直可以免费使用的,但是如果超过6个月没有发送短信或者通话的记录谷歌就会回收号码(据说以前只要有接收短信和未接电话的记录,但现在没有主动发送短信或者接通电话超过6个月也会被回收)。于是经过一番研究发现了一个自动保号方法。

1、注册一个IFTTT账号,如果有谷歌账号,也可以直接用谷歌账号登录,登录后关联vps大玩家设计的保号小程序。(也可以选择其它SMS应用给自己发短信,VPS大玩家原来设计的小程序是可以自动让GV回复短信的,但现在不行了,但是他给出了通过Google app script自动回复短信的方法)。点击Connect,然后设置每月发送的日期,时间等信息,点击保存这样每个月就会收到自动发送的短信了。如果是第一次使用可能还要验证手机号码,需要接收验证码。

《设置Google Voice自动回复短信保号的方法》

2,但我们还必须要能够自动回复一条短信才能保号。经过研究,发现有一个方法可以实现。

  • 首先在Google Voice设置将短信自动转发至谷歌邮箱。《设置Google Voice自动回复短信保号的方法》
  • 然后进入Gmail设置一个过滤器,取名autoreply。

《设置Google Voice自动回复短信保号的方法》《设置Google Voice自动回复短信保号的方法》

  • 新建一个Google app script项目,取名为Auto Replier。输入如下代码:

function autoReplier() {
var labelObj = GmailApp.getUserLabelByName(‘autoreply’);
var gmailThreads;
var messages;
var messagecount;//2020年2月20日添加
var sender;
var num = 3; //设置连续自动回复邮件的次数(为防止两人都是自动回复,当发送次数达到 3 时将不自动回复)。
var hours = 12; //如果自动回复次数超过了上面设置的值,过了多少小时后又可以自动回复。

for (var gg = 0; gg < labelObj.getUnreadCount(); gg++) {
gmailThreads = labelObj.getThreads()[gg];
messages = gmailThreads.getMessages();
messagecount = gmailThreads.getMessageCount();
for (var ii = 0; ii < messages.length; ii++) {

if (messages[ii].isUnread()) {

msg = messages[ii].getPlainBody();
sender = messages[ii].getFrom();

if (messagecount < num){
MailApp.sendEmail(sender, “Auto Reply”, “Hello, your message has been received. 你好,你的信息已收到。本短信由Google Apps Script自动发出。”);
}else if( (messages[messagecount – 1].getDate().getTime() – messages[messagecount – num].getDate().getTime()) > hours * 60 * 60 * 1000 ){
MailApp.sendEmail(sender, “Auto Reply”, “Hi, 您好!这是一条自动回复短信!本短信由 Google Apps Script 自动发出。”);
}

messages[ii].markRead();
messages[ii].moveToTrash();

}
}
}
}

《设置Google Voice自动回复短信保号的方法》

  • 保存后,选择修改-当前项目的触发器,然后添加触发器,选择要运行的功能“autoReplyer”,选择时间驱动-分钟定时器-每分钟(也可根据自己的需要修改频次,但要保证短信邮件是未读状态才会自动回复),然后保存,弹出“Auto Replier”想要访问您的 Google 帐号,选择允许。
    《设置Google Voice自动回复短信保号的方法》《设置Google Voice自动回复短信保号的方法》
  • 另外建议给Gmail设置邮件自动转发,这样在不用梯子的情况下,也可以通过副邮箱接收短信验证码。《设置Google Voice自动回复短信保号的方法》
  • 完成以上步骤,每个月IFTTT会定时给你的GV号码发送一条短信,Google app script会每分钟检测一次Gmail里带autoreply标签的未读邮件并自动回复一条短信到对方,这样就实现了自动保号。验证方法:使用IFTTT的保号小程序设置最近的一个时间点发送一条短信,收到短信后打开Google Voice看是否有自动回复的短信,或者进Gmail看发件箱是否有自动回复的邮件,如果有那就说明成功了,否则检查下Google app script的我的执行信息看看触发器是否正常执行。

《设置Google Voice自动回复短信保号的方法》

  • 另外也可以设置Gmail转发到139邮箱等有短信提醒的邮箱,这样就可以通过自己手机接收短信验证码。或者转发某些可以推送微信消息的邮箱。
点赞
  1. Kelly说道:

    Wow, this article is pleasant, my younger sister is analyzing these kinds of things, therefore I am going to tell her.

  2. Wow, fantastic weblog structure! How long have you ever
    been running a blog for? you made running a blog look easy.

    The total glance of your website is excellent, let alone the content!

  3. Austin说道:

    My relatives all the time say that I am killing my
    time here at web, however I know I am getting know-how everyday by reading thes nice
    articles or reviews.

  4. Natalie说道:

    I absolutely love your blog and find most of your post's to be exactly what I'm looking for.
    Does one offer guest writers to write content for yourself?
    I wouldn't mind composing a post or elaborating on a lot of the subjects
    you write about here. Again, awesome web log!

  5. Hey are using WordPress for your site platform? I'm new to the blog world but I'm trying to get
    started and set up my own. Do you need any coding knowledge to make your own blog?
    Any help would be greatly appreciated!

  6. Carolyn说道:

    I was able to find good info from your articles.

  7. Doris说道:

    If you wish for to grow your experience just keep visiting this site and
    be updated with the most recent news posted here.

  8. Alexis说道:

    I am sure this article has touched all the internet users,
    its really really nice post on building up new weblog.

  9. Alexander说道:

    Howdy! I could have sworn I've been to your blog before but after looking at many
    of the articles I realized it's new to me. Anyways, I'm certainly delighted I came across it and I'll
    be book-marking it and checking back frequently!

  10. free vbucks说道:

    I'd like to find out more? I'd love to find out some additional information.

  11. vbucks generator说道:

    This text is invaluable. Where can I find out more?

  12. Fastidious respond in return of this query with real arguments and telling the whole thing regarding that.

  13. I'm really enjoying the design and layout of your blog.
    It's a very easy on the eyes which makes it much more pleasant for me to come
    here and visit more often. Did you hire out a designer to create your theme?

    Exceptional work!

  14. Joe说道:

    You actually make it seem so easy along with your presentation but I to find this matter to be really one thing which
    I believe I'd never understand. It sort of feels too complicated and extremely huge for me.
    I am looking forward for your subsequent put up, I'll
    attempt to get the hang of it!

  15. Dylan说道:

    Right away I am going to do my breakfast, later
    than having my breakfast coming again to read other news.

  16. Vincent说道:

    Hello, I log on to your blogs regularly. Your writing style
    is awesome, keep up the good work!

  17. marele pescar说道:

    I am not sure where you are getting your information, but good topic.
    I needs to spend some time learning more or understanding more.

    Thanks for magnificent info I was looking for
    this info for my mission.

  18. Aaron说道:

    I constantly emailed this webpage post page to all my associates, since if like to read it after that my links will
    too.

  19. Abigail说道:

    I think that what you said was very logical. But, what
    about this? suppose you composed a catchier post title?

    I mean, I don't wish to tell you how to run your blog, however what if
    you added a post title that grabbed folk's attention?
    I mean 设置Google Voice自动回复短信保号的方法 -
    天天&笑笑的乐园 is kinda vanilla.
    You might glance at Yahoo's home page and note how they create news headlines to get
    viewers to open the links. You might add a video or a
    picture or two to get readers interested about everything've written. In my opinion,
    it might make your posts a little bit more interesting.

  20. free the vbucks说道:

    Right now it appears like WordPress is the top blogging platform available right now.
    (from what I've read) Is that what you're using on your blog?

  21. Hmm it appears like your blog ate my first comment (it
    was super long) so I guess I'll just sum it up what I wrote
    and say, I'm thoroughly enjoying your blog. I as well am
    an aspiring blog blogger but I'm still new to the whole thing.
    Do you have any tips and hints for newbie blog writers?
    I'd certainly appreciate it.

  22. free vbucks说道:

    Hi there to all, for the reason that I am in fact eager of reading this weblog's post
    to be updated daily. It carries good stuff.

  23. With havin so much content and articles do you ever
    run into any issues of plagorism or copyright violation? My blog has a lot of completely unique content I've either written myself or outsourced
    but it looks like a lot of it is popping it up all over the internet without
    my authorization. Do you know any techniques to help protect against content
    from being stolen? I'd certainly appreciate it.

  24. Heya i'm for the first time here. I came across
    this board and I find It really useful & it helped me out much.
    I hope to give something back and aid others like you helped me.

  25. There's definately a great deal to find out about this subject.
    I love all of the points you've made.

  26. see more说道:

    Hi to all, since I am genuinely eager of reading this web site's post
    to be updated on a regular basis. It includes good data.

  27. weight loss diet说道:

    Hello there! This post could not be written any better!
    Reading this post reminds me of my old room mate!
    He always kept talking about this. I will forward this write-up to him.
    Pretty sure he will have a good read. Thanks for sharing!

  28. Andrea说道:

    Wow, marvelous blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your website is magnificent, let alone
    the content!

  29. Teresa说道:

    I blog often and I really appreciate your information. The article has really peaked
    my interest. I am going to bookmark your site and keep checking for new details
    about once per week. I opted in for your RSS feed too.

  30. Frank说道:

    It's really a great and helpful piece of information. I am happy that you shared this
    useful information with us. Please stay us informed like this.
    Thank you for sharing.

  31. Brandon说道:

    If you wish for to improve your knowledge just keep
    visiting this web site and be updated with the newest information posted here.

  32. pogo spoofer说道:

    Hurrah! After all I got a web site from where I
    be able to truly obtain helpful data concerning my study and knowledge.

  33. Dylan说道:

    Hey there! I'm at work surfing around your blog from my new apple iphone!
    Just wanted to say I love reading through your blog and look
    forward to all your posts! Carry on the superb work!

  34. Lawrence说道:

    Hi, its pleasant piece of writing about media print, we all be familiar
    with media is a wonderful source of information.

  35. Amy说道:

    Wonderful website. A lot of useful information here. I am sending it to some buddies ans additionally
    sharing in delicious. And naturally, thanks in your effort!

  36. vbucks free说道:

    When someone writes an post he/she maintains the plan of a user
    in his/her brain that how a user can understand it. Therefore that's why this post is perfect.
    Thanks!

  37. Chao说道:

    The following lines of code indicates error, would you please help check and correct them, thank you very much!

    "SyntaxError: Invalid or unexpected token"

    "MailApp.sendEmail(sender, “Auto Reply”, “Hello, your message has been received. 你好,你的信息已收到。本短信由Google Apps Script自动发出。”);
    }else if( (messages[messagecount – 1].getDate().getTime() – messages[messagecount – num].getDate().getTime()) > hours * 60 * 60 * 1000 ){
    MailApp.sendEmail(sender, “Auto Reply”, “Hi, 您好!这是一条自动回复短信!本短信由 Google Apps Script 自动发出。”);
    }

  38. isshonduras.com说道:

    I visited many websites but the audio feature for audio songs existing at this web page is truly marvelous.

  39. Greate article. Keep writing such kind of
    information on your blog. Im really impressed by it.
    Hey there, You've done a fantastic job. I'll definitely digg it and individually
    suggest to my friends. I'm confident they will be benefited
    from this website.

  40. artrolux capsule说道:

    Today, I went to the beach with my children. I found a
    sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed
    the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.
    She never wants to go back! LoL I know this is completely
    off topic but I had to tell someone!

  41. bahisturkiye.top说道:

    Hi there I am so excited I found your blog
    page, I really found you by error, while I was searching on Bing for something else,
    Anyhow I am here now and would just like to say cheers for
    a marvelous post and a all round exciting blog (I also love the theme/design),
    I don’t have time to read it all at the minute but I have book-marked it and also included your RSS feeds, so when I have time I will
    be back to read a great deal more, Please do keep up the superb work.

  42. First of all I want to say terrific blog! I had a quick question that I'd like
    to ask if you don't mind. I was interested to find out how you center yourself
    and clear your mind before writing. I've had a hard time clearing my
    thoughts in getting my ideas out. I truly do enjoy writing however it just seems like the first
    10 to 15 minutes are generally lost simply just trying to figure out
    how to begin. Any recommendations or tips? Many thanks!

  43. Matthew说道:

    Do you have a spam issue on this site; I also am a blogger, and
    I was curious about your situation; we have created some nice methods and we are looking to exchange solutions with others,
    be sure to shoot me an e-mail if interested.

  44. Hmm it seems like your blog ate my first comment (it was extremely long)
    so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
    I as well am an aspiring blog blogger but I'm
    still new to the whole thing. Do you have any helpful hints for beginner blog
    writers? I'd genuinely appreciate it.

  45. I'm really enjoying the theme/design of your site.
    Do you ever run into any web browser compatibility issues?
    A handful of my blog visitors have complained about my website not working correctly in Explorer but looks
    great in Chrome. Do you have any advice to help fix this issue?

  46. Awesome! Its actually remarkable post, I have got much clear idea about from this paragraph.

  47. I read this piece of writing fully on the topic of the comparison of newest and previous technologies, it's awesome article.

  48. Yes! Finally someone writes about free coin master
    spins.

  49. That is really attention-grabbing, You are
    an excessively professional blogger. I've joined your
    rss feed and stay up for in the hunt for more of your wonderful post.

    Also, I have shared your website in my social networks

  50. Hi, this weekend is fastidious for me, since this occasion i am reading
    this impressive informative article here at my residence.

  51. This text is worth everyone's attention. Where can I find
    out more?

  52. I was very happy to uncover this site. I want to to thank you for your time for this particularly wonderful read!!

    I definitely enjoyed every part of it and I have you book-marked to check out new information in your web site.

  53. Thanks for your marvelous posting! I certainly enjoyed
    reading it, you might be a great author. I will be sure to bookmark your blog and will come back later
    on. I want to encourage you continue your great work,
    have a nice morning!

  54. Greate article. Keep writing such kind of info on your site.
    Im really impressed by your site.
    Hey there, You've performed an excellent job. I will certainly digg it and for my part suggest to my friends.
    I am confident they will be benefited from this site.

  55. Donna说道:

    What's up it's me, I am also visiting this web site daily, this website is really nice and the viewers are in fact sharing
    fastidious thoughts.

  56. Hi, this weekend is pleasant in favor of me, for the reason that
    this point in time i am reading this enormous informative
    article here at my house.

  57. I'm not sure exactly why but this blog is loading very slow for me.

    Is anyone else having this issue or is it a issue on my end?
    I'll check back later on and see if the problem still exists.

  58. Pretty! This was an extremely wonderful post.
    Many thanks for providing these details.

  59. Hi there! Do you know if they make any plugins to
    assist with Search Engine Optimization? I'm trying to get my blog to rank
    for some targeted keywords but I'm not seeing very good gains.
    If you know of any please share. Appreciate it!

  60. Great article, just what I wanted to find.

  61. Nice post. I learn something new and challenging on blogs I stumbleupon on a daily basis.
    It's always helpful to read articles from other writers and practice something from their websites.

  62. Lasul Cucure说道:

    This is a terribly sharp post. Thankyou for posting this surprising article.

    xbody dristor bucuresti

  63. I'm not sure where you're getting your info, but good topic.
    I needs to spend some time learning much more or understanding more.

    Thanks for wonderful information I was looking for this info for my mission.

  64. I've been surfing online more than 2 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. In my view, if all site owners and bloggers made
    good content as you did, the internet will be a lot more useful than ever before.

  65. free netflix说道:

    I believe that is one of the most important info for me.
    And i'm happy studying your article. However want to statement on few general issues, The web site taste is ideal, the articles is truly great :
    D. Excellent activity, cheers

  66. My programmer is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the expenses.
    But he's tryiong none the less. I've been using
    WordPress on a number of websites for about a year and am worried about switching to another platform.
    I have heard good things about blogengine.net. Is there a way I can transfer all my wordpress content
    into it? Any help would be really appreciated!

  67. I'm impressed, I have to admit. Seldom do I come
    across a blog that's both equally educative and interesting,
    and without a doubt, you have hit the nail on the head.
    The problem is something that too few people are speaking intelligently about.
    I am very happy I came across this in my hunt for
    something concerning this.

  68. Very shortly this site will be famous among all blogging viewers, due
    to it's nice articles or reviews

  69. This post offers clear idea in support of the new visitors of blogging, that truly how to do running a blog.

  70. Excellent website you have here but I was curious if you knew of any
    discussion boards that cover the same topics talked about
    here? I'd really love to be a part of group where I can get responses from other knowledgeable individuals that share the same
    interest. If you have any suggestions, please let me know.

    Thanks!

  71. Hi to every , since I am actually keen of
    reading this webpage's post to be updated on a regular basis.

    It includes fastidious data.

发表评论

电子邮件地址不会被公开。 必填项已用*标注