C# code to get list item to send to email? -



C# code to get list item to send to email? -

i can send emails using this:

mail.to.add("sample@test.com");

however, i'd send out emails getting sharepoint list, far have this.

list<string> = new list<string> {"test@sample.com"}; foreach(string address in to) { mail.to.add("to"); }

i'm getting error.

the specified string not in form required e-mail address.

try:

list<string> = new list<string> {"test@sample.com"}; foreach(string address in to) { mail.to.add(address); }

c# list email sharepoint

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -