0

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?

3
  • 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, 2016 at 19:25
  • how does one use "SPUtility.SendEmail " Jun 6, 2016 at 19:46
  • One will leave an answer...
    – Marco
    Jun 6, 2016 at 20:57

1 Answer 1

1

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", "[email protected]");
header.Add("from", "[email protected]");
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

0

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.