Guest User

Untitled

a guest
Mar 8th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. String emailBody = "";
  2.  
  3. for (int i = 0; i < subscribers.Count; i++)
  4. {
  5. emailBody += "Hello " + subscribers[i].FirstName + ",";
  6. emailBody += "this is a reminder with your account information: \n\n:";
  7. emailBody += "Your username: " + subscribers[i].Username + "\n";
  8. emailBody += "Your password: " + subscribers[i].Password + "\n";
  9. emailBody += "Have a great day!";
  10.  
  11. emailDispatcher.Send(subscribers[i].EmailAddress, emailBody);
  12. }
Add Comment
Please, Sign In to add comment