Detect email client where email send

Add-in Express™ Support Service
That's what is more important than anything else

Detect email client where email send
 
Phuong Nguyen


Guest


Hi,

User can using multi email client on multi device to sending email.
Then, all email send will sync to Send folder on Outlook
For some reason, we must to know what email have send by using another email client than Microsoft Outlook.

Is it possible?
Posted 25 Apr, 2016 03:48:23 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Phuong,

I am not sure if this is possible. If other email clients add some Extended MAPI properties to outgoing emails then you will be able to detect them. I would suggest that you send a couple emails by using other email clients and compare their Extended MAPI properties with those of Outlook emails.
Posted 25 Apr, 2016 04:42:54 Top
Phuong Nguyen


Guest


Hi,

That is good approach

Thanks
Posted 25 Apr, 2016 05:14:19 Top
Phuong Nguyen


Guest


Hi,

Another solution is hook to the Send event and mark an email is sending by Outlook.
I found your article here: https://www.add-in-express.com/creating-addins-blog/2009/02/06/outlook-itemsend-sendbutton-events/
Do you know any fields on MailItem object can store custom data ?

Thanks
Posted 26 Apr, 2016 02:46:20 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Phuong,

You can try to store custom data in the https://msdn.microsoft.com/EN-US/library/office/ff866403.aspx collection.
Posted 26 Apr, 2016 05:20:18 Top
Phuong Nguyen


Guest


Hi Dmitry,

I have try your suggestion and it work great

Thanks for your help
Posted 26 Apr, 2016 05:38:25 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Phuong,

You are welcome!
Posted 26 Apr, 2016 11:23:48 Top