以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  mailsender中的msgbox  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=78871)

--  作者:一笑
--  发布时间:2015/12/18 22:31:00
--  mailsender中的msgbox
在邮件发送中,弹出的消息窗口必须点击“确认”后才能继续后面的代码吗?
       Try
            client.Send(message)
            msgbox(p & "发送成功")
        Catch ex As Exception
            msgbox("发送失败:" & ex.message)
        End Try        

--  作者:Hyphen
--  发布时间:2015/12/19 8:43:00
--  
是的,单线程中代码都是按序执行的
--  作者:大红袍
--  发布时间:2015/12/20 12:29:00
--  

你可以用异步发送。

 

http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=70729&skin=0