⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 code35.txt

📁 一个用数据库编写的学生信息管理系统!做课程设计的同学可以做为参考!
💻 TXT
字号:
程序段35
  这段程序用于得到邮件用户ghy的详细信息。

mailSession mSes
mailMessage mMsg
mailRecipient mRec
int mNbr
mailReturnCode mReturn
mSes=create mailSession
//邮件用户名为“ghy”
mRec.Name='ghy'
//注册
mReturn=mSes.mailLogon('ghy','PASSWORD',mailNewSession!)
if mReturn <> mailReturnSuccess! then
   MessageBox("MAIL LOGON",'MA MAIL LOGON FAILURE!')
   Return
end if
//得到“ghy”的详细信息
mReturn=mSes.mailResolveRecipient(mRec)
if mReturn <> mailReturnSuccess! then
   MessageBox("Mail ResolveRecipient",'MS MAIL'+'RESOLVE'+&
              +'RECIPIENT FAILURE!')
   Return
end if
mReturn=mSes.mailRecipientDetails(mRec,TRUE)
if mReturn <> mailReturnSuccess! then
   MessageBox("Mail RecipientDetails",'MS MAIL'+'RECIPIEN'+&
                 +'DETAILS FAILURE!')
   Return
end if
mSes.mailLogoff( )
destroy mSes

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -