I'm creating an application that automatically sends word emails via outlook using Outlook.Application Class....
Something weird is happening,
My development machine is on Windows 7, and everything works fine here, the .send() property sends the mail properly even if outlook is closed.
But when i try to put the application on my server which is under windows XP, when the function is called the mail won't be send if outlook is close, it only goes in the outbox, and when i open outlook it will be send... I notices it doesn't happen for every mail adresses too... but most of them have this problem....
so In fact on my server i need to have outlook opened all the time for the mail to be send directly when my function is called, on windows 7 i don't cause the mail is sent directly everytime even if outlook is closed....
Can someone help me about that?
Here is a piece of the code i use to send the mail:
Application oApp = new Outlook.Application();
//Create the new message by using the simplest approach.