0

I am developing a visual webpart in SharePoint 2010 project and I have to deal with emails in my visual part.

I tried to add MailKit reference to my project and it keeps telling me that it work only with .Net 4.0 target framework and SharePoint 2010 has 3.5 framework.

Is there any other reference to use and how do I use it?

1 Answer 1

1

Could you not use the built in sharepoint utility:

SPUtility.SendEmail(SPContext.Current.Web, false, false, "[email protected]", "subject", "body");

SPUtility.SendEmail Method

1
  • not for sending mails but for List all my emails Nov 19, 2015 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.