OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 1757|回复: 3

SIM800A收取邮件不成功

[复制链接]

1

主题

2

帖子

0

精华

新手入门

积分
4
金钱
4
注册时间
2017-7-22
在线时间
0 小时
发表于 2017-7-22 15:40:46 | 显示全部楼层 |阅读模式
2金钱
本人使用SIM800A中POP3协议做收取邮件操作,利用AT+POP3CMD=4,4命令来收取我邮箱中第四封邮件,每次AT+POP3READ读取,但是收取的邮件总是不完整,没有邮件头。如下,不知有没有人知道怎么回事,新手,金钱一共就2个AT+POP3CMD=4,4

OK
+POP3CMD: 1
+POP3READ: 3,1927
AT+POP3READ=100

+POP3READ: 1,100
21 Jul 2017 16:21:59 +0800 (CST)
X-Originating-IP: [221.193.168.61]
Date: Fri, 21 Jul 2017 16:21:

OK
+POP3READ: 3,1827
AT+POP3READ=1000

+POP3READ: 1,1000
harset=GBK
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0ibGluZS1oZWlnaHQ6MS43O2NvbG9yOiMwMDAwMDA7Zm9udC1zaXplOjE0cHg7
Zm9udC1mYW1pbHk6QXJpYWwiPjEyNtPKz+SxvrXYsuLK1DwvZGl2Pjxicj48YnI+PHNwYW4gdGl0
bGU9Im5ldGVhc2Vmb290ZXIiPjxkaXYgaWQ9Im5ldGVhc2VfbWFpbF9mb290ZXIiPjxkaXYgc3R5
bGU9ImJvcmRlci10b3A6I0NDQyAxcHggc29saWQ7cGFkZGluZzoxMHB4IDVweDtmb250LXNpemU6
MTVweDtjb2xvcjojNzc3O2xpbmUtaGVpZ2h0OjIycHgiPjxhIGhyZWY9Imh0dHA6Ly95b3UuMTYz
LmNvbS9pdGVtL2RldGFpbD9pZD0xMTg1MDEyJmZyb209d2ViX2dnX21haWxfamlhb2JpYW9fOSIg
dGFyZ2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjojMzM2NkZGO3RleHQtZGVjb3JhdGlvbjpub25l
Ij6hvs340tfX1NOqfDMwzOzO3tPHzcu79aG/sru1vc2sv+4x1du826OhVG9yeSBCdXJjaNbG1OzJ
zMPAyr3Q3c/QyMvX1s3Pz97Ksb32MjkuOdSqJmd0OyZndDs8L2E+CiAmbmJzcDsgJm5ic3A7PC9k
aXY+PC9kaXY+PC9zcGFuPg==
------=_Part_105058_831498177.1500625319863--
.
63
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: base64

MTI208rP5LG+tdiy4srU
------=_Part_105058_831498177.1500625319863
Content-Type: text/html; c

OK
+POP3READ: 3,827
AT+POP3READ=827

+POP3READ: 2,827
harset=GBK
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0ibGluZS1oZWlnaHQ6MS43O2NvbG9yOiMwMDAwMDA7Zm9udC1zaXplOjE0cHg7
Zm9udC1mYW1pbHk6QXJpYWwiPjEyNtPKz+SxvrXYsuLK1DwvZGl2Pjxicj48YnI+PHNwYW4gdGl0
bGU9Im5ldGVhc2Vmb290ZXIiPjxkaXYgaWQ9Im5ldGVhc2VfbWFpbF9mb290ZXIiPjxkaXYgc3R5
bGU9ImJvcmRlci10b3A6I0NDQyAxcHggc29saWQ7cGFkZGluZzoxMHB4IDVweDtmb250LXNpemU6
MTVweDtjb2xvcjojNzc3O2xpbmUtaGVpZ2h0OjIycHgiPjxhIGhyZWY9Imh0dHA6Ly95b3UuMTYz
LmNvbS9pdGVtL2RldGFpbD9pZD0xMTg1MDEyJmZyb209d2ViX2dnX21haWxfamlhb2JpYW9fOSIg
dGFyZ2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjojMzM2NkZGO3RleHQtZGVjb3JhdGlvbjpub25l
Ij6hvs340tfX1NOqfDMwzOzO3tPHzcu79aG/sru1vc2sv+4x1du826OhVG9yeSBCdXJjaNbG1OzJ
zMPAyr3Q3c/QyMvX1s3Pz97Ksb32MjkuOdSqJmd0OyZndDs8L2E+CiAmbmJzcDsgJm5ic3A7PC9k
aXY+PC9kaXY+PC9zcGFuPg==
------=_Part_105058_831498177.1500625319863--
.





正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

2

帖子

0

精华

新手入门

积分
4
金钱
4
注册时间
2017-7-22
在线时间
0 小时
 楼主| 发表于 2017-7-22 15:53:56 | 显示全部楼层
我通过电脑读取同一封邮件,正确的应该是retr 4
+OK 1924 octets
Received: from maxuchao1990$126.com ( [221.193.168.61] ) by
ajax-webmail-wmsvr45 (Coremail) ; Fri, 21 Jul 2017 16:21:59 +0800 (CST)
X-Originating-IP: [221.193.168.61]
Date: Fri, 21 Jul 2017 16:21:59 +0800 (CST)
From: =?GBK?B?x+S348Ho?= <maxuchao1990@126.com>
To: maxuchao1990@126.com
Subject: TEST126
X-Priority: 3
X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build
20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 126com
X-CM-CTRLDATA: 1PtfC2Zvb3Rlcl9odG09OTE6NDAw
Content-Type: multipart/alternative;
        boundary="----=_Part_105058_831498177.1500625319863"
MIME-Version: 1.0
Message-ID: <3fda6721.7000.15d643d37b7.Coremail.maxuchao1990@126.com>
X-Coremail-Locale: zh_CN
X-CM-TRANSIDcqowABnlmiouXFZPL9kAQ--.275W
X-CM-SenderInfo: 5pd03u5kdrimizq6ij2wof0z/1tbiKRwcaVhgxMmFIwABsS
X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU==

------=_Part_105058_831498177.1500625319863
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: base64

MTI208rP5LG+tdiy4srU
------=_Part_105058_831498177.1500625319863
Content-Type: text/html; charset=GBK
Content-Transfer-Encoding: base64

PGRpdiBzdHlsZT0ibGluZS1oZWlnaHQ6MS43O2NvbG9yOiMwMDAwMDA7Zm9udC1zaXplOjE0cHg7
Zm9udC1mYW1pbHk6QXJpYWwiPjEyNtPKz+SxvrXYsuLK1DwvZGl2Pjxicj48YnI+PHNwYW4gdGl0
bGU9Im5ldGVhc2Vmb290ZXIiPjxkaXYgaWQ9Im5ldGVhc2VfbWFpbF9mb290ZXIiPjxkaXYgc3R5
bGU9ImJvcmRlci10b3A6I0NDQyAxcHggc29saWQ7cGFkZGluZzoxMHB4IDVweDtmb250LXNpemU6
MTVweDtjb2xvcjojNzc3O2xpbmUtaGVpZ2h0OjIycHgiPjxhIGhyZWY9Imh0dHA6Ly95b3UuMTYz
LmNvbS9pdGVtL2RldGFpbD9pZD0xMTg1MDEyJmZyb209d2ViX2dnX21haWxfamlhb2JpYW9fOSIg
dGFyZ2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjojMzM2NkZGO3RleHQtZGVjb3JhdGlvbjpub25l
Ij6hvs340tfX1NOqfDMwzOzO3tPHzcu79aG/sru1vc2sv+4x1du826OhVG9yeSBCdXJjaNbG1OzJ
zMPAyr3Q3c/QyMvX1s3Pz97Ksb32MjkuOdSqJmd0OyZndDs8L2E+CiAmbmJzcDsgJm5ic3A7PC9k
aXY+PC9kaXY+PC9zcGFuPg==
------=_Part_105058_831498177.1500625319863--
.


回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165359
金钱
165359
注册时间
2010-12-1
在线时间
2110 小时
发表于 2017-7-22 23:52:37 | 显示全部楼层
帮顶
回复

使用道具 举报

3

主题

17

帖子

0

精华

初级会员

Rank: 2

积分
199
金钱
199
注册时间
2017-7-23
在线时间
51 小时
发表于 2017-7-23 13:35:54 | 显示全部楼层
不懂,顶一下,大家都来看看
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-12-23 02:55

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表