The prompt for profile isn't set.

Yesterday I could send mails through code without this message.

To let me add addresses in the adress book I had to have a Personal Address Book, to get this all working i messed a bit with my outlook.

Now if i want to send a mail wiith attachment and all it works wihtout this messagebox if outlook is running.
If outlook is not running this profile thing comes up first.