Example #1
0
		public void BasicEmail()
		{
			var msg = new MailMessage();
			msg.To.Add(new MailAddress("[email protected]", "Jim Bob"));
			msg.From = new MailAddress("[email protected]", "Joe Bloggs");
			msg.Subject = "Test Message";
			msg.Body = "A simple message";
            
			var text = msg.GetText();


			//Console.WriteLine(text);


            Assert.IsNotNullOrEmpty(text);

		}