I want to use MAPI to send a note from VB in the background and I have two questions:
1) When my code gets to MAPISession1.SignOn and my mail system (Outlook) is not running, a dialog box is displayed by MAPI that asks me to "Choose Profile". How can I avoid that and just use the current profile name? MAPI seems to know what it is since "Microsoft Outlook" is shown in the Profile Name combo box.
2) How can I automatically delete the email from the user's mail system after it is sent?
