Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Parallel.Invoke(() =>
  2. {
  3. var template = new MailTemplate()
  4. .WithBody("my sample body")
  5. .WithSubject("sample sub")
  6. .WithSender("test1@fakesite.com")
  7. .WithRecepient("test2@fakesite.com")
  8. .WithAttachment(filepath)
  9. .Send();
  10. });
  11.  
  12. oLog.Save("no of job sone " + jbcount, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement