If I have a mailing list full of contacts, and in there is their email and a column to mark whether or not they get sent an email. How can I set up email bursts to come out of the Sharepoint site (using Sharepoint Designer or something) through a personalized email? So, when the clients receive our email, it comes from an email they recognize like my personal work email or something. Is that possible?

  • From designer using some kind of warkflow, you can not. Workflows will use the email address configured in the central administration. Using the SPUtility.SendEmail you can personalize the sender address as you want – Marco Jun 6 '16 at 19:25
  • how does one use "SPUtility.SendEmail " – Sabien Ambrose Jun 6 '16 at 19:46
  • One will leave an answer... – Marco Jun 6 '16 at 20:57

From my point of view your best choice is create a custom Timer Job who will execute every day o once on a week... etc (totally configurable).

The code you could use will be like this:

var header = new StringDictionary();
header.Add("to", "to@mail.com");
header.Add("from", "custom_mail@mail.com");
header.Add("subject", "your subject");
header.Add("content-type", "text/html"); //will have html?
SPUtility.SendEmail(SPContext.Current.Web, header, emailBody);

In the next link you will find an awesome post to create a custom timer job: Step by Step procedures to create a Timer Job in SharePoint 2013

Good luck

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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