Developoing add-in for outlook for sending mail.

Feb 4 2016 3:43 AM
Hello everyone.
 
Recently, I have got a requirement of developing a add-in for outlook. I have developed an VSTO add-in for sending a mail using the smtp credentials when a user clicks on my customized send button in outlook. For this I am using mailmessage and smtp.Send(mailmessage);. so far it's good.I am using mailmessage class instead of outlook mailItem because I want to change the sender's e-mail address which is not possible using a outlook   mailtem.
 
But, actually I want to see my mail going through the outbox of outlook and then it should show up in the sent items folder of outlook which I am not able to code it out.
 
Please anyone who can help it out are welcome.
Thanks in advance and waiting for the solution.!
 
Regards ,
Sudhir