Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Parallel.Invoke(() =>
- {
- var template = new MailTemplate()
- .WithBody("my sample body")
- .WithSubject("sample sub")
- .WithSender("test1@fakesite.com")
- .WithRecepient("test2@fakesite.com")
- .WithAttachment(filepath)
- .Send();
- });
- oLog.Save("no of job sone " + jbcount, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement