python email模块的使用实例

使用python的smtp和email模块发送邮件 对于发送附件的邮件,附件对象filemime要设置2个头部,Content-Type, Content-Disposition, 前者是内容类型,后者是在邮件附件里显示的名字,通过filename去定义。总结:用python发送邮件,支持多种不同类型的邮件,有纯文本,有带html 或者压缩文件,当然其他的pdf, xlsx, doc文件作为附件也能发。发送邮件的整个过程是:连接邮箱服务器-->登录邮箱-->准备邮件数据-->添加邮件数据到邮件对象-->发送邮件。运行发送邮件代码后,邮箱收到了有附件的邮件。 阅读详情

在使用python过程中,需要用的email模块来进行邮件的发送和接收,包含自定义邮件的中文、主题、日期、附件等信息,以下是我使用email模块来发送一个测试报告相关信息的邮件的例子:

#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
@author:freesigefei
Created on 2016年3月20日
Updated on 2016年5月4日
'''
#------------------------------------------------------------------------------------------------
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.header import Header
import os,time,re

def send_Test_email(mail_to):
    '''本模块实现获取最新的测试报告html文件,读取部分报告内容作为邮件正文,将报告作为附件,并发送到指定的邮箱,
        参数mail_to代表的是接收邮箱,例如:'xxx@126.com' '''
    
    #发送邮箱
    mail_from = 'yyy@sina.com'
    #发送邮件主题
    mail_subject = 'Automation Test Report'
    #发送邮箱服务器
    mail_smtpserver = 'smtp.sina.com'
    #发送邮箱用户/密码
    mail_username = 'yyy@sina.com'
    mail_password = 'yyyyyy'

    #定义邮件内容,中文需参数‘utf-8’,单字节字符不需要
    '''
    #发送文件形式的邮件
    msg = MIMEText('你好!','text','utf-8')
    '''
    '''
    #发送html形式以正常文本显示在邮件内容中的邮件
    msg = MIMEText('<html><h1>你好!</h1></html>','html','utf-8')
    '''
    '''
    #读取html文件内容并发送
    f=open(file_new,'rb')
    mail_body=f.read()
    f.close()
    print mail_body
    msg=MIMEText(mail_body,_subtype='html',_charset='utf-8')
    '''
    
    #创建一个带附件的邮件实例(内容)
    msg = MIMEMultipart()
    #找到report目录下最新生成的报告文件供后续使用
    result_dir = 'D:\\report'
    lists=os.listdir(result_dir)
    lists.sort(key=lambda fn: os.path.getmtime(result_dir+"\\"+fn) if not
               os.path.isdir(result_dir+"\\"+fn) else 0)
    print (u'The Latest Test Report is: '+lists[-1])
    file_new = os.path.join(result_dir,lists[-1])
    #读取最新的测试报告文件获取部分信息来定义邮件的内容
    Regex_Theme=re.compile(r'Automation Test Report')
    Regex_Content=re.compile(r'<strong>(.*:)</strong>(.*)<')
    Report_File=open(file_new,'r')
    Mail_Content=[]
    for line in Report_File.readlines():
        if '<title>Automation Test Report</title>' in line or "<p class='attribute'>" in line:
            i=Regex_Theme.findall(line)
            j=Regex_Content.findall(line)
            if i != []:
                Mail_Content.append(i)
            if j != []:
                Mail_Content.append(j)
    Report_File.close()
    #将读取到的测试报告的数据以html形式显示为邮件的中文
    msgTest=MIMEText('''<html><h1>Test completed,Test results are as follows:</h1></html>'''
                     '''<hr />'''
                     '''<p><strong>'''+Mail_Content[0][0]+'''</strong></p>'''
                     '''<p><strong>'''+Mail_Content[1][0][0]+'''</strong>'''+Mail_Content[1][0][1]+'''</p>'''
                     '''<p><strong>'''+Mail_Content[2][0][0]+'''</strong>'''+Mail_Content[2][0][1]+'''</p>'''
                     '''<p><strong>'''+Mail_Content[3][0][0]+'''</strong>'''+Mail_Content[3][0][1]+'''</p>'''
                     '''<hr />'''
                     '''<p>PS: Detailed test results please refer to the attachment</p>'''
                     ,'html','utf-8')
    msg.attach(msgTest)
    #定义邮件的附件
    att1 = MIMEText(open(file_new, 'rb').read(), 'base64', 'utf-8')
    att1["Content-Type"] = 'application/octet-stream'
    att1["Content-Disposition"] ='attachment; filename="Automation test report.html"'#这里的filename指的是附件的名称及类型
    msg.attach(att1)
    #将邮件的主题等相关信息添加到邮件实例
    msg['Subject'] = Header(mail_subject)
    msg['From'] = mail_from
    msg['To'] = mail_to
    msg['date']=time.strftime('%a, %d %b %Y %H:%M:%S %z') 
    #创建发送服务器实例并将发送服务器添加到实例中
    smtp = smtplib.SMTP()
    smtp.connect(mail_smtpserver)
    '''
    #采用ssl加密传输
    smtp.ehlo()
    smtp.starttls()
    smtp.ehlo()
    '''
    '''
    #打印交互的日志信息
    #smtp.set_debuglevel(1)
    '''
    #登录发送邮件服务器并进行邮件的发送
    smtp.login(mail_username, mail_password)
    smtp.sendmail(mail_from, mail_to, msg.as_string())
    print u'Test report sent successfully,Please go to the following email to check the test report :%s' %mail_to
    smtp.quit()
    
#----------------------------------------------------------------------------------------------------
if __name__ == "__main__":
    send_Test_email('xxx@126.com')


当然,如果要使用email模块的其他功能,可以参考网上的以下7个列子:

一,文件形式的邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.text import MIMEText
from email.header import Header

sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***'

msg = MIMEText('你好','text','utf-8')#中文需参数‘utf-8',单字节字符不需要
msg['Subject'] = Header(subject, 'utf-8')

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msg.as_string())
smtp.quit()

二、html形式的邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.text import MIMEText

sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***'

msg = MIMEText('</pre>
<h1>你好</h1>
<pre>','html','utf-8') 

msg['Subject'] = subject 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msg.as_string())
smtp.quit()

三、带图片的html邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.image import MIMEImage 

sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***' 

msgRoot = MIMEMultipart('related')
msgRoot['Subject'] = 'test message' 

msgText = MIMEText('<b>Some <i>HTML</i> text</b> and an image.
<img alt="" src="cid:image1" />
good!','html','utf-8')
msgRoot.attach(msgText) 

fp = open('h:\\python\\1.jpg', 'rb')
msgImage = MIMEImage(fp.read())
fp.close() 

msgImage.add_header('Content-ID', '')
msgRoot.attach(msgImage) 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msgRoot.as_string())
smtp.quit()


四、带附件的邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.image import MIMEImage 

sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***' 

msgRoot = MIMEMultipart('related')
msgRoot['Subject'] = 'test message' 

#构造附件
att = MIMEText(open('h:\\python\\1.jpg', 'rb').read(), 'base64', 'utf-8')
att["Content-Type"] = 'application/octet-stream'
att["Content-Disposition"] = 'attachment; filename="1.jpg"'
msgRoot.attach(att) 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msgRoot.as_string())
smtp.quit()


五、群邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.text import MIMEText 

sender = '***'
receiver = ['***','****',……]
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***' 

msg = MIMEText('你好','text','utf-8') 

msg['Subject'] = subject 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msg.as_string())
smtp.quit()


六、包含各种元素的邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.image import MIMEImage 

sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***' 

# Create message container - the correct MIME type is multipart/alternative.
msg = MIMEMultipart('alternative')
msg['Subject'] = "Link" 

# Create the body of the message (a plain-text and an HTML version).
text = "Hi!\nHow are you?\nHere is the link you wanted:\nhttp://www.python.org"
html = """\

 
Hi!

       How are you?

       Here is the <a href="http://www.python.org">link</a> you wanted.

 

""" 

# Record the MIME types of both parts - text/plain and text/html.
part1 = MIMEText(text, 'plain')
part2 = MIMEText(html, 'html') 

# Attach parts into message container.
# According to RFC 2046, the last part of a multipart message, in this case
# the HTML message, is best and preferred.
msg.attach(part1)
msg.attach(part2)
#构造附件
att = MIMEText(open('h:\\python\\1.jpg', 'rb').read(), 'base64', 'utf-8')
att["Content-Type"] = 'application/octet-stream'
att["Content-Disposition"] = 'attachment; filename="1.jpg"'
msg.attach(att) 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login(username, password)
smtp.sendmail(sender, receiver, msg.as_string())
smtp.quit()


7、基于ssl的邮件

#!/usr/bin/env python3
#coding: utf-8
import smtplib
from email.mime.text import MIMEText
from email.header import Header
sender = '***'
receiver = '***'
subject = 'python email test'
smtpserver = 'smtp.163.com'
username = '***'
password = '***' 

msg = MIMEText('你好','text','utf-8')#中文需参数‘utf-8',单字节字符不需要
msg['Subject'] = Header(subject, 'utf-8') 

smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.ehlo()
smtp.starttls()
smtp.ehlo()
smtp.set_debuglevel(1)
smtp.login(username, password)
smtp.sendmail(sender, receiver, msg.as_string())
smtp.quit()




python email 模块 参考简书,廖雪峰python import smtplib import os from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import traceback import time def send(self,content=None): ''''... 阅读详情

相关推荐

详解Python发送email的三种方式

Python发送email的三种方式,分别为使用登录邮件服务器、使用smtp服务、调用sendmail命令来发送三种方法 Python发送email比较简单,可以通过登录邮件服务来发送,linux下也可以使用调用sendmail命令来发送,还可以使用本地或者是远程的smtp服务来发送邮件,不管是单个,群发,还是抄送都比较容易实现。本米扑博客先介绍几个最简单的发送邮件方式记录下,像html邮件,附件等也是支持的,需要时查文档即可。 一、登录邮件服务器 通过smtp登录第三方smtp邮箱发送邮件,支持 25 和 465端口 vim python_email_1.py #!/usr/bin/en

Python常用模块8-Python的email模块简介

文章目录一.email - 电子邮件与 MIME 处理包二.发送邮件简要概述2.1 python发邮件所需要的基础包2.2 smtplib的用法2.3 email模块的详细理解和使用十.email案例参考: 一.email - 电子邮件与 MIME 处理包 email 包是一个用于管理电子邮件消息的库。 它 并非 被设计为执行向 SMTP (RFC 2821), NNTP 或其他服务器发送电子邮件消息的操作;这些是 smtplib 和 nntplib 等模块的功能。 email 包试图尽可能遵循 RFC,支

只是甲的博客 1万+

电赛备赛笔记:用STM32驱动AD9959信号发生器模块,从接线到出波保姆级教程

本文详细介绍了如何使用STM32驱动AD9959信号发生器模块,从硬件接线到软件调试的全流程。AD9959作为高性能DDS芯片,适用于电子设计竞赛中的信号生成需求。文章包含硬件连接指南、寄存器配置解析、多通道控制技巧以及常见问题解决方案,帮助参赛者快速掌握AD9959的应用。

weixin_31858171的博客 366

Python——email模块

python-email发送文件

田地里的大麦子 6305

VS2017配置PCL1.9.1 for win10(超详细)

准备工作 VS2017 自行下载 PCL1.9.1 点击链接跳转Github下载,根据自己的环境选择 win64或win32,作者下载的是:PCL-1.9.1-AllInOne-msvc2017-win64.exepcl-1.9.1-pdb-msvc2017-win64.zip 安装PCL 双击点开PCL-1.9.1-AllInOne-msvc2017-win64.exe,选择Add PCL to the system PATH for all users, 更改安装路径,E:\Progra

malapoa的博客 1145

金蝶个版本下载地址,记得保存收藏。

专业版 V10.0 http://downloads.cmcloud.cn/kis/kis_pro/10.0/kiszybV10sp1.rar V11.0 http://downloads.cmcloud.cn/kis/kis_pro/11.0/KISV11Setup.rar V12.0 http://dow...

饺子的博客 2505

Python 发邮件

来源:微信公众号Crossin的编程教室 0. 前言 发送电子邮件是个很常见的开发需求。比如你写了个监控天气的脚本,发现第二天要下雨,或者网站上关注的某个商品降价了,就可以发个邮件到邮箱来提醒自己。 使用 Python 脚本发送邮件并不复杂。不过在网页上搜了些教程,都亲测无效,发现或多或少有点问题,导致发送失败。所以今天我们就来讲讲如何使用 Python

u012493828的专栏 2632

在WebView中对第三方H5页面的文本密码框添加自定义随机键盘

前言: 首先介绍一下这个需求的背景,由于公司是涉及到金融行业的需要与银行对接资金存管。出于保密性这里不直接列出公司名字和银行名字。从2018年国家对金融行业大整改以来,为了能够顺利通过备案,我们也跟着政府的脚步一步一步走向合规。 好了,大致就是因为要通过备案,必须把这个需求实现,否则将不会通过。 需求内容就是,当客户端有关资金交易的时候,会通过加密数据以及秘钥的方式把第三方银行的页面(充值、...

比较喜欢、笑的博客专栏 1586

python的email模块_python email 模块

import smtplibimport osfrom email.mime.text import MIMETextfrom email.mime.multipart import MIMEMultipartimport tracebackimport timedef send(self,content=None):'''''发送邮件'''server = Noneindex = 1 #邮件重...

weixin_39526415的博客 894

基于UWB技术的自动跟随避障系统设计研究

基于UWB技术的自动跟随避障系统设计研究 摘要:目前我国针对自动跟随避障系统方面的研究较少,同时国内自动跟随避障系统仍然处在未成熟阶段,多数仍停留在应用蓝牙控制或摄像头捕捉这类跟随方式,但这类方式在实际应用过程中往往会出现易受干扰,精度差,易受环境干扰等问题,这不仅会降低自动跟随避障系统的性能,同时也会对用户造成诸多困扰。因此,就需要结合目前较为有效的UWB技术,对自动跟随避障系统进行设计。基于此,本文首先将会针对UWB技术展开概述,而后对基于UWB技术的自动跟随避障系统组成展开分析,进而对基于UWB技术的

qq_43543515的博客 7991

通用抓取算法AnyGrasp(Graspnet)——本地部署并测试自定义输入数据

背景:GraspNet在数据采集方面,首先将相机固定到机械臂末端,对同一个场景拍摄256个不同的角度,同时场景中的每个物体都会提前采集好3D模型,之后将其投射到仿真环境中,在仿真环境中,对抓取位姿进行打标签,如此完成数据的采集。在运行官方的测试示例时,使用的是路径下的输入数据,可以分析下。color.png(输入):rgb图像(输出):输出的生成抓取位姿的图像depth.png(输入):和当前rgb图像对应的深度图像(保存格式是单通道uint16)meta.mat。

boss-dog 1328

Python 邮件处理之道:email 模块深度剖析与实战

email包旨在管理电子邮件消息,遵循多种 RFC 标准,如 RFC 5322、RFC 6532 及多个 MIME 相关 RFC。它包含四个主要组件:对象模型、解析器(parser)、生成器(generator)和策略(policy)模块。对象模型是与应用程序交互的主要接口;解析器用于将邮件的序列化版本转换为对象树;生成器则将对象树转回序列化字节流;策略模块控制其他组件的行为。email。

Tekin 是深耕技术 20 年的全栈实战派专家,精通 Go/Python/Java 等多语言开发。博客专注技术原理与实战结合,深度解析 Python 高阶编程、Go 语言架构、数据库优化等硬核内容。涵盖并发编程、机器学习、云原生等前沿领域,通过真实案例拆 3111

TC3XX - MCAL知识点(三十五):Tasking编译器下,Tc3xx的MCAL代码如何使用多核,多核中断、多核任务、多核外设之间的MCAL配置与代码例程

文章用于记录在裸机情况下使用多核Tc387芯片,如何高效运行以及正确的代码、工程属性、链接文件配置等问题,相互结合、相互影响的地方,以示后续使用记录。

梦想技术家 961

python email模块详解_python email模块

python email模块email模块电子邮件包是一个用于管理电子邮件消息的库。它的特殊设计不用于向SMTP (RFC 2821)、NNTP或其他服务器发送任何电子邮件消息;这些是模块的函数,如smtplib和nntplib。电子邮件包尝试尽可能符合RFC,支持RFC 5233和RFC 6532,以及与mime相关的RFC 2045、RFC 2046、RFC 2047、RFC 2183和RFC...

weixin_39648432的博客 5248

开源遥感语义分割工具箱mmsegmentation基于Lovedata数据集训练模型

开源遥感语义分割工具箱mmsegmentation基于Lovedata数据集训练模型

yilvyangguang520的博客 498

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

python email模块

python email模块 官方文档 email模块 电子邮件包是一个用于管理电子邮件消息的库。它的特殊设计不用于向SMTP (RFC 2821)、NNTP或其他服务器发送任何电子邮件消息;这些是模块的函数,如smtplib和nntplib。电子邮件包尝试尽可能符合RFC,支持RFC 5233和RFC 6532,以及与mime相关的RFC 2045、RFC 2046、RFC 2...

weixin_34314962的博客 1324

SIMATIC S7-1200, S7-1500 PID 控制[手册]

SIMATIC S7-1200, S7-1500 PID 控制[手册]

python安装email模块_Python发邮件要装什么模块

在介绍具体的实现python发邮件的具体操作之前,我觉得有必要介绍下SMTP,更有助于理解python发邮件的实现原理。SMTP协议属于TCP/IP协议簇,即简单邮件传输协议,它是一组用于由源地址到目的地址传送邮件的规则,由它来控制信件的中转方式,python实现发邮件也是基于此基础上进行封装的。1.python发邮件所需要的基础包python发送邮件需要用到python自带的两个模块,smtpl...

weixin_39903477的博客 2976

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

python的email模块_为什么我必须用python中的email模块“从模块导入”?

对不起,如果问题不准确,我很难正确地表达这个问题。在我尝试使用电子邮件模块来创建一个简单的纯文本电子邮件,并在满足某些条件时发送它。我遇到了各种不正常的行为,我想了解一下。我从官方示例(https://docs.python.org/3.4/library/email-examples.html)中提取了一个简单的测试,它运行得很好。当我开始尝试在我的项目中实现这一点时,我开始得到各种各样的"'m...

weixin_42297846的博客 1628

Python 发送邮件email ,使用email模块和smtplib模块

使用email模块和smtplib模块,内容比较固定,配好了即可实现,代码如下: 一、普通邮件发送 import smtplib from email.mime.text import MIMEText email_host = 'smtp.163.com' #邮箱地址 email_user = 'XXX@163.com' # 发送者账号 email_pwd = 'XXX' # 发...

走在搬砖的路上! 1001

python安装email模块_Python使用SMTP模块、email模块发送邮件

一、smtplib模块:主要通过SMTP类与邮件系统进行交互。使用方法如下:1.实例化一个SMTP对象:s = smtplib.SMTP(邮件服务地址,端口号)s = smtplib.SMTP_SSL(邮件服务地址,端口号)2.登陆邮件,权限验证:s.login(用户名,密码)3.发送邮件:s.sendmail(发件人邮箱,收件人邮箱,发送内容)4.断开连接:s.close()二、email模块:...

weixin_39624705的博客 1177

python email模块方法_python中使用smtplib和email模块发送邮件实例

SMTP模块这么多已定义的类中,我们最常用的的还是smtplib.SMTP类,就具体看看该类的用法:smtp实例封装一个smtp连接,它支持所有的SMTP和ESMTP操作指令,如果host和port参数被定义,则smtp会在初始化期间自动调用connect()方法,如果connect()方法失败,则会触发SMTPConnectError异常,timeout参数设置了超时时间。在一般的调用过程中,应...

weixin_36488760的博客 912

python 没有email模块_python 中模块smtplibe 和 email用法攻略

,点击上方“拾光撷影”关注,带你去看流行语!importsmtplibfromemail.mime.textimportMIMETextfromemail.utilsimportformataddrstatus={}# 状态码pipeline_item={"item":0,# 成功item项"item_err...

weixin_32393875的博客 581

python的email模块_python email 模块 运维用处

主要用于检测服务器状况并发送确认信息给自己import smtplibfrom email.mime.text import MIMETextsender = 'xxxx@qq.com' #发送人邮箱passwd = 'lkugmgywydhfff' #发送人邮箱授权码receivers = 'xxxx@qq.com' #收件人邮箱subject = 'python发邮件测试' #主题cont...

weixin_39517202的博客 149

python安装email模块_Python3下email 安装报错 No module named 'cStringIO'

python 自动发送邮件需要用到 email模块,但是python3 在安装email包的时候出现了难以解决的问题。Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/Collecting emailUsing cached https://pypi.tuna.tsinghua.edu.cn/packages/71/e7/81...

weixin_42515377的博客 6441

python email模块详解_Python使用email模块对邮件进行编码和解码的实例教程

解码邮件python自带的email模块是个很有意思的东西,它可以对邮件编码解码,用来处理邮件非常好用。处理邮件是一个很细致的工作,尤其是解码邮件,因为它的格式变化太多了,下面先看看一个邮件的源文件:Received: from 192.168.208.56 ( 192.168.208.56 [192.168.208.56] ) byajax-webmail-wmsvr37 (Coremail) ...

weixin_39836530的博客 1678
上一篇: Selenium 获取文本信息方法总结
下一篇: python log模块使用实例
freesigefei
博客等级 码龄13年 33粉丝 30原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值