Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器 软件资源

软件开发小程序制作系统集成与运维空间租用硬件开发视频监控技术咨询与支持——联系电话:0311-88999002/88999003

首页 / 操作系统 / Linux / linux下通过命令行获取gmail的新邮件

linux下通过命令行获取gmail的新邮件,不需输入@gmail.com部分
#!/bin/bash num="33[1;36m"end="33[0m" read -p "Enter your mail: " nameread -p "Enter pass of mail: " pass atom=`wget -qO - https://$name:$pass@mail.google.com/mail/feed/atom  --secure-protocol=TLSv1 -T 3 -t 1 --no-check-certificate | grep  fullcount | sed -e "s/<fullcount>(.*)</fullcount>/1/"` echo -e "You have "$num$atom$end" new letters."
以上所述就是本文的全部内容了,希望大家能够喜欢。