When using MAPI the send command has parameters to display a login and the mail dialog prior to sending. For instance: mapiMessage.Send(MapiSendMailFlags.LogonUI | MapiSendMailFlags.Dialog);
Does anyone know of a 开发者_如何学Pythonway to do this for the SMTP Send command in .Net 4.0?
Can't do that - UI is your responsibility. In case of Simple MAPI, the UI comes form whatever application that registered itself as the default Simple MAPI provider.
精彩评论