Answered by:
Extract incoming email "From" email address

Question
-
Is it possible to extract the "From" email address from an incoming email to a sharepoint list and populate a column within the list. If yes could you please direct me on how this is done or some documentation on this. Appreciate any ideas.
SravanSunday, December 18, 2011 4:09 AM
Answers
-
you could set up a list with an itemupdated event receiver which modifies the from address of the incoming email
you will find here the code for modifying this parameter (and others), you will just need to wrap it in the event receiver.
Hope it helps.
My SharePoint Blog- Proposed as answer by Jinchun ChenMicrosoft employee Monday, December 19, 2011 9:15 AM
- Marked as answer by Jinchun ChenMicrosoft employee Thursday, January 5, 2012 9:04 AM
Sunday, December 18, 2011 12:37 PM -
Sravan,
You can use the SPEmailEventReceiver too:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spemaileventreceiver.aspxThanks,
Jinchun Chen
Jinchun Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)- Marked as answer by Jinchun ChenMicrosoft employee Thursday, January 5, 2012 9:04 AM
Monday, December 19, 2011 9:16 AM
All replies
-
you could set up a list with an itemupdated event receiver which modifies the from address of the incoming email
you will find here the code for modifying this parameter (and others), you will just need to wrap it in the event receiver.
Hope it helps.
My SharePoint Blog- Proposed as answer by Jinchun ChenMicrosoft employee Monday, December 19, 2011 9:15 AM
- Marked as answer by Jinchun ChenMicrosoft employee Thursday, January 5, 2012 9:04 AM
Sunday, December 18, 2011 12:37 PM -
Sravan,
You can use the SPEmailEventReceiver too:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spemaileventreceiver.aspxThanks,
Jinchun Chen
Jinchun Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)- Marked as answer by Jinchun ChenMicrosoft employee Thursday, January 5, 2012 9:04 AM
Monday, December 19, 2011 9:16 AM