I found that if you take out the line:
loMAPISession.UserName="Windows Messaging"
it works fine. If outlook is open it just sends the message but if outlook is not open it asks for a profile. Hope this helps. Jeff
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only