📄 code30.txt
字号:
程序段30
这段程序用于邮件收发,显示一个地址列表。
mailSession mSes
mailMessage mMsg
mailRecipient mRec
int mNbr
meilReturnCode mReturn
mSes=create meilSession
//邮件用户“bhy”注册
mReturn=mSes.mailLogon('bhy','PASSWORD',mailNewSession!)
if mReturn <> mailReturnSuccess! then
MessageBox("MAIL LOGON",'MS MAIL LOGON AILURE!')
Return
end if
//弹出邮件用户列表
mReturn=mSes.mailAdress()
if mReturn<>mailReturnSuccess! then
MessageBox("Mail Address",'MS MAIL MIL ADDRESS FAILURE!')
return
end if
mSes.mailLogoff( )
destroy mSes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -