I want to create calendar and when someone click on "Add" after filling all the details, it should email to a person.
How to add the email?
I want to create calendar and when someone click on "Add" after filling all the details, it should email to a person.
How to add the email?
afaik there are two ways of doing this:
You may decide to put the email in a column of the list, in a configuration list, or in a property bag - depending on your requirements (e.g. if you decide to proceed with an Event Receiver and the email doesn't change often, i would choose the latter).
Since I understand you don't want to use SharePoint Designer, if I were you, I would proceed with an Event Receiver (using Visual Studio off course).
Remember that, if you are creating a Farm Solution and the email is a valid SharePoint user email address, you can use the SPUtility.SendEmail
method.