Answered by:
How to create a list item and send newly created item url in email?

Question
-
Hello
I want to send an email with newly created item url programmatically. First I want to create new item in a spacific list then I want to sent email to a particular email address with the newly created url. Please let me know how can I do this?
Regards
Avi
- Changed type Hemendra Agrawal Wednesday, October 16, 2013 6:21 AM q
Tuesday, October 15, 2013 4:54 PM
Answers
-
Hi,
You can achieve the requirement using ItemAdded event receiver. Once the item is added, ItemAdded event receiver will be triggered. In the event receiver, retrieve the email address from some config list or file and email the current item url using SPUtility.SendMail functionality.
- Edited by DeveloperSharePoint Tuesday, October 15, 2013 5:09 PM
- Marked as answer by Lindali Thursday, October 24, 2013 12:48 PM
Tuesday, October 15, 2013 5:05 PM -
Hello,
Create designer workflow to send email with item URL:
http://sharepoint.indigoreality.com/2012/11/29/sharepoint-2010-url-to-list-item-in-workflow-e-mail/
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help- Proposed as answer by Devendra VelegandlaMVP Wednesday, October 16, 2013 7:09 AM
- Marked as answer by Lindali Thursday, October 24, 2013 12:48 PM
Wednesday, October 16, 2013 6:25 AM
All replies
-
Hi,
You can achieve the requirement using ItemAdded event receiver. Once the item is added, ItemAdded event receiver will be triggered. In the event receiver, retrieve the email address from some config list or file and email the current item url using SPUtility.SendMail functionality.
- Edited by DeveloperSharePoint Tuesday, October 15, 2013 5:09 PM
- Marked as answer by Lindali Thursday, October 24, 2013 12:48 PM
Tuesday, October 15, 2013 5:05 PM -
Hello,
Create designer workflow to send email with item URL:
http://sharepoint.indigoreality.com/2012/11/29/sharepoint-2010-url-to-list-item-in-workflow-e-mail/
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help- Proposed as answer by Devendra VelegandlaMVP Wednesday, October 16, 2013 7:09 AM
- Marked as answer by Lindali Thursday, October 24, 2013 12:48 PM
Wednesday, October 16, 2013 6:25 AM