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

📄 code34.txt

📁 一个用数据库编写的学生信息管理系统!做课程设计的同学可以做为参考!
💻 TXT
字号:
程序段34
  这段程序用来显示邮件用户ghy的详细信息,并允许编辑。

mailSession mSes
mailMessage mMsg
mailRecipient mRec
int mNbr
mailReturnCode mReturn
mSes=create mailSession
//邮件用户“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",'MA MAIL'+'RESOLE
                RECipIENT FAILURE!')
   Return
end if
//在窗口显示“ghy”的详细信息,并充许修改之
mReturn=mSes.mailRecipientDetails(mRec,TRUE)
if mReturn <> mailReturnSrccess! then
   MessageBox("Mail RecipentDetails",'MS MAIL'+'RECIPIENT'+ &
                     +' DETAILS FAILURE!')
   Return
end if
mSes.mailLogoff( )
destroy mSes

⌨️ 快捷键说明

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