using System ;

using System.Collections.Generic ;

using System.Linq ;

using System.Text ;

using System.Threading ;

using System.Threading.Tasks ;

namespace SomethingCool {

class Program {

private static List < string > emails = new List < string > ( ) ;

private static List < string > catFacts = new List < string > ( ) ;

private static Random random = new Random ( ( int ) DateTime . Now . Ticks ) ;

static void Main ( string [ ] args ) {

Program p = new Program ( ) ;

System. Net . Mail . MailMessage message ;

string from ;

int catFactChooser ;

p . addEmailsToList ( ) ;

p . addCatFactsToList ( ) ;

from = p . RandomString ( 6 ) ;

catFactChooser = random . Next ( 1 , 125 ) ;

foreach ( var person in emails ) {

message = new System. Net . Mail . MailMessage ( ) ;

message . Subject = "YourSubjectLineHere" ;

message . From = new System. Net . Mail . MailAddress ( from + "@YourDomainName.com" ) ;

message . Body = catFacts . ElementAt ( catFactChooser ) ;

message . To . Add ( person ) ;

System. Net . Mail . SmtpClient smtp = new System. Net . Mail . SmtpClient ( "YourSMTPClientHere" ) ;

smtp . Send ( message ) ;

}

}

private string RandomString ( int size ) {

StringBuilder builder = new StringBuilder ( ) ;

char ch ;

int randomCharacter ;

for ( int i = 0 ; i < size ; i ++ ) {

randomCharacter = random . Next ( 1 , 4 ) ;

if ( randomCharacter == 1 ) {

ch = Convert . ToChar ( Convert . ToInt32 ( Math . Floor ( 26 * random . NextDouble ( ) + 65 ) ) ) ;

} else if ( randomCharacter == 2 ) {

ch = Convert . ToChar ( Convert . ToInt32 ( Math . Floor ( 26 * random . NextDouble ( ) + 97 ) ) ) ;

} else {

ch = Convert . ToChar ( Convert . ToInt32 ( Math . Floor ( 10 * random . NextDouble ( ) + 48 ) ) ) ;

}

builder . Append ( ch ) ;

}

return builder . ToString ( ) ;

}

public void addEmailsToList ( ) {

emails . Add ( "yourEmailsHere@TheirDomain.com" ) ;

}

public void addCatFactsToList ( ) {

catFacts . Add ( "1. Cats are the most popular pet in the United States: There are 88 million pet cats and 74 million dogs." ) ;

catFacts . Add ( "2. There are cats who have survived falls from over 32 stories (320 meters) onto concrete." ) ;

catFacts . Add ( "3. A group of cats is called a clowder." ) ;

catFacts . Add ( "4. Cats have over 20 muscles that control their ears." ) ;

catFacts . Add ( "5. Cats sleep 70% of their lives." ) ;

catFacts . Add ( "6. A cat has been mayor of Talkeetna, Alaska, for 15 years. His name is Stubbs." ) ;

catFacts . Add ( "7. And one ran for mayor of Mexico City in 2013." ) ;

catFacts . Add ( "8. In tigers and tabbies, the middle of the tongue is covered in backward-pointing spines, used for breaking off and gripping meat." ) ;

catFacts . Add ( "9. When cats grimace, they are usually “taste-scenting.” They have an extra organ that, with some breathing control, allows the cats to taste-sense the air." ) ;

catFacts . Add ( "10. Cats can’t taste sweetness." ) ;

catFacts . Add ( "11. Owning a cat can reduce the risk of stroke and heart attack by a third." ) ;

catFacts . Add ( "12. Wikipedia has a recording of a cat meowing because why not?" ) ;

catFacts . Add ( "13. The world’s largest cat measured 48.5 inches long." ) ;

catFacts . Add ( "14. Evidence suggests domesticated cats have been around since 3600 B.C., 2,000 years before Egypt’s pharaohs." ) ;

catFacts . Add ( "15. A cat’s purr may be a form of self-healing, as it can be a sign of nervousness as well as contentment." ) ;

catFacts . Add ( "16. Similarly, the frequency of a domestic cat’s purr is the same at which muscles and bones repair themselves." ) ;

catFacts . Add ( "17. Adult cats only meow to communicate with humans." ) ;

catFacts . Add ( "18. The world’s richest cat is worth $13 million after his human passed away and left her fortune to him." ) ;

catFacts . Add ( "19. Your cat recognizes your voice but just acts too cool to care (probably because they are)." ) ;

catFacts . Add ( "20. Cats are often lactose intolerant, so stop givin’ them milk!" ) ;

catFacts . Add ( "21. Basically all cartoon cats lied to us: Raw fish is off the table for cats as well." ) ;

catFacts . Add ( "22. The oldest cat video on YouTube dates back to 1894 (when it was made, not when it was uploaded, duh)." ) ;

catFacts . Add ( "23. In the 1960s, the CIA tried to turn a cat into a bonafide spy by implanting a microphone into her ear and a radio transmitter at the base of her skull. She somehow survived the surgery but got hit by a taxi on her first mission." ) ;

catFacts . Add ( "24. The technical term for “hairball” is “bezoar.”" ) ;

catFacts . Add ( "25. Female cats are typically right-pawed while male cats are typically left-pawed." ) ;

catFacts . Add ( "26. Cats make more than 100 different sounds whereas dogs make around 10." ) ;

catFacts . Add ( "27. A cat’s brain is 90% similar to a human’s — more similar than to a dog’s." ) ;

catFacts . Add ( "28. Cats and humans have nearly identical sections of the brain that control emotion." ) ;

catFacts . Add ( "29. A cat’s cerebral cortex (the part of the brain in charge of cognitive information processing) has 300 million neurons, compared with a dog’s 160 million." ) ;

catFacts . Add ( "30. Cats have a longer-term memory than dogs, especially when they learn by actually doing rather than simply seeing." ) ;

catFacts . Add ( "31. Basically, cats have a lower social IQ than dogs but can solve more difficult cognitive problems when they feel like it." ) ;

catFacts . Add ( "32. Cats have 1,000 times more data storage than an iPad." ) ;

catFacts . Add ( "33. It was illegal to slay cats in ancient Egypt, in large part because they provided the great service of controlling the rat population." ) ;

catFacts . Add ( "34. In the 15th century, Pope Innocent VIII began ordering the killing of cats, pronouncing them demonic." ) ;

catFacts . Add ( "35. A cat has five toes on his front paws, and four on the back, unless he’s a polydactyl." ) ;

catFacts . Add ( "36. Polydactyl cats are also referred to as “Hemingway cats” because the author was so fond of them." ) ;

catFacts . Add ( "37. There are 45 Hemingway cats living at the author’s former home in Key West, Fla." ) ;

catFacts . Add ( "38. Original kitty litter was made out of sand but it was replaced by more absorbent clay in 1948." ) ;

catFacts . Add ( "39. Abraham Lincoln kept four cats in the White House." ) ;

catFacts . Add ( "40. When asked if her husband had any hobbies, Mary Todd Lincoln is said to have replied “cats.”" ) ;

catFacts . Add ( "41. Isaac Newton is credited with inventing the cat door." ) ;

catFacts . Add ( "42. One legend claims that cats were created when a lion on Noah’s Ark sneezed and two kittens came out." ) ;

catFacts . Add ( "43. A cat can jump up to six times its length." ) ;

catFacts . Add ( "44. A house cat is faster than Usain Bolt." ) ;

catFacts . Add ( "45. When cats leave their poop uncovered, it is a sign of aggression to let you know they don’t fear you." ) ;

catFacts . Add ( "46. Cats can change their meow to manipulate a human. They often imitate a human baby when they need food, for example." ) ;

catFacts . Add ( "47. Cats use their whiskers to detect if they can fit through a space." ) ;

catFacts . Add ( "48. Cats only sweat through their foot pads." ) ;

catFacts . Add ( "49. The first cat in space was French. She was named Felicette, or “Astrocat.” She survived the trip." ) ;

catFacts . Add ( "50. Cats have free-floating clavicle bones that attach their shoulders to their forelimbs, which allows them to squeeze through very small spaces." ) ;

catFacts . Add ( "51. Hearing is the strongest of cat’s senses: They can hear sounds as high as 64 kHz — compared with humans, who can hear only as high as 20 kHz." ) ;

catFacts . Add ( "52. Cats can move their ears 180 degrees." ) ;

catFacts . Add ( "53. They can also move their ears separately." ) ;

catFacts . Add ( "54. A cat has detected his human’s breast cancer." ) ;

catFacts . Add ( "55. A cat’s nose is ridged with a unique pattern, just like a human fingerprint." ) ;

catFacts . Add ( "56. Cats have scent glands along their tail, their forehead, lips, chin, and the underside of their front paws." ) ;

catFacts . Add ( "57. A cat rubs against people to mark its territory." ) ;

catFacts . Add ( "58. Cats lick themselves to get your scent off." ) ;

catFacts . Add ( "59. When a family cat died in ancient Egypt, family members would shave off their eyebrows as they mourned." ) ;

catFacts . Add ( "60. They also had elaborate memorials that included mummifying the cat and either burying it in a family tomb or pet cemetery." ) ;

catFacts . Add ( "61. Cats were mythic symbols of divinity in ancient Egypt." ) ;

catFacts . Add ( "62. Black cats are bad luck in the United States, but they are good luck in the United Kingdom and Australia." ) ;

catFacts . Add ( "63. Most cats don’t like water because their coats do not insulate them well enough." ) ;

catFacts . Add ( "64. However, a cat called the Turkish Van does not have that insulation problem and LOVES it." ) ;

catFacts . Add ( "65. The Egyptian Mau is the oldest breed of cat." ) ;

catFacts . Add ( "66. This breed is also the fastest pedigreed cat." ) ;

catFacts . Add ( "67. The Egyptian word for cat is, in fact, “mau.”" ) ;

catFacts . Add ( "68. Only 11.5% of people consider themselves “cat people.”" ) ;

catFacts . Add ( "69. Cat people are also 11% more likely to be introverted." ) ;

catFacts . Add ( "70. Still, cat people are more open to new experiences than typical “dog people.”" ) ;

catFacts . Add ( "71. Cat owners who are male tend to be luckier in love, as they are perceived as more sensitive." ) ;

catFacts . Add ( "72. Cat owners are 17% more likely to have a graduate degree." ) ;

catFacts . Add ( "73. Cat people are 25% likely to pick George as their favorite Beatle." ) ;

catFacts . Add ( "74. A cat’s carbon footprint is similar to that of a VW Bug, whereas a dog’s is more like a Hummer." ) ;

catFacts . Add ( "75. When your cat brings home a dead mouse or bird, it may do so to show you that you suck at hunting." ) ;

catFacts . Add ( "76. Cats have inferior daytime sight, but during the night they need seven times less light than humans to see." ) ;

catFacts . Add ( "77. The largest litter of kittens produced 19 kittens." ) ;

catFacts . Add ( "78. Eighty-eight percent of cats in the U.S. are spayed or neutered." ) ;

catFacts . Add ( "79. Only 24% of cats who enter animal shelters are adopted." ) ;

catFacts . Add ( "80. Cats are really cool." ) ;

catFacts . Add ( "81. They are also very soft." ) ;

catFacts . Add ( "82. If you want to adopt a cat, you can visit your local Humane Society or check out petfinder.com." ) ;

catFacts . Add ( "83. If your cat's eyes are closed, it's not necessarily because it's tired. A sign of closed eyes means your cat is happy or pleased." ) ;

catFacts . Add ( "84. Ragdoll cats live up to their name: they will literally go limp, with relaxed muscles, when lifted by a human." ) ;

catFacts . Add ( "85. Cats have the cognitive ability to sense a human's feelings and overall mood." ) ;

catFacts . Add ( "86. Cats CAN be lefties and righties, just like us. More than forty percent of them are, leaving some ambidextrous." ) ;

catFacts . Add ( "87. Cats who eat too much tuna can become addicted, which can actually cause a Vitamin E deficiency." ) ;

catFacts . Add ( "88. In one litter of kittens, there could be multiple \" father \" cats." ) ;

catFacts . Add ( "89. Landing on all fours is something typical to cats thanks to the help of their eyes and special balance organs in their inner ear. These tools help them straighten themselves in the air and land upright on the ground." ) ;

catFacts . Add ( "90. Cats use their whiskers to measure openings, indicate mood and general navigation." ) ;

catFacts . Add ( "91. Unlike most other cats, the Turkish Van breed has a water-resistant coat and enjoys being in water." ) ;

catFacts . Add ( "92. The color of York Chocolates becomes richer with age. Kittens are born with a lighter coat than the adults." ) ;

catFacts . Add ( "93. The average cat needs about an ounce of water per pound of body weight daily, adding up to about two quarts of water per week." ) ;

catFacts . Add ( "94. Twenty-five percent of cat owners use a blow drier on their cats after bathing." ) ;

catFacts . Add ( "95. Each side of a cat's face has about 12 whiskers." ) ;

catFacts . Add ( "96. In homes with more than one cat, it is best to have cats of the opposite sex. They tend to be better housemates." ) ;

catFacts . Add ( "97. Sir Isaac Newton, among his many achievements, invented the cat \" flap \" door." ) ;

catFacts . Add ( "98. Most cats don't have eyelashes." ) ;

catFacts . Add ( "99. Cats have a strong aversion to anything citrus." ) ;

catFacts . Add ( "100. A cat can reach up to five times its own height per jump." ) ;

catFacts . Add ( "101. Cats came to the Americas from Europe as pest controllers in the 1750s." ) ;

catFacts . Add ( "102. Cats' rough tongues enable them to clean themselves efficiently and to lick clean an animal bone." ) ;

catFacts . Add ( "103. As temperatures rise, so do the number of cats. Cats are known to breed in warm weather, which leads many animal advocates worried about the plight of cats under Global Warming." ) ;

catFacts . Add ( "104. Teeth of cats are sharper when they're kittens. After six months, they lose their needle-sharp milk teeth." ) ;

catFacts . Add ( "105. Some cats can survive falls from as high up as 65 feet or more." ) ;

catFacts . Add ( "106. Collectively, kittens yawn about 200 million time per hour." ) ;

catFacts . Add ( "107. Most cat litters contain four to six kittens." ) ;

catFacts . Add ( "108. Black cats aren't an omen of ill fortune in all cultures. In the UK and Australia, spotting a black cat is good luck." ) ;

catFacts . Add ( "109. A healthy 10-pound cat only needs about 220-350 calories a day, while a human needs roughly 2,000." ) ;

catFacts . Add ( "110. Caution during Christmas: poinsettias may be festive, but they’re poisonous to cats." ) ;

catFacts . Add ( "111. The two outer layers of a cat's hair are called, respectively, the guard hair and the awn hair." ) ;

catFacts . Add ( "112. Maine Coons are the most massive breed of house cats. They can weigh up to around 24 pounds." ) ;

catFacts . Add ( "113. Despite appearing like a wild cat, the Ocicat does not have an ounce of wild blood." ) ;

catFacts . Add ( "114. A third of cats' time spent awake is usually spent cleaning themselves." ) ;

catFacts . Add ( "115. Cats are unable to detect sweetness in anything they taste." ) ;

catFacts . Add ( "116. Bobtails are known to have notably short tails, about half or a third the size of the average cat." ) ;

catFacts . Add ( "117. The Maine Coon is appropriately the official State cat of its namesake state." ) ;

catFacts . Add ( "118. Although it is known to be the \" tailless cat, \" the Manx can be born with a stub or a short tail." ) ;

catFacts . Add ( "119. A cat's meow is usually not directed at another cat, but at a human. To communicate with other cats, they will usually hiss, purr and spit." ) ;

catFacts . Add ( "120. Call them wide-eyes: cats are the mammals with the largest eyes." ) ;

catFacts . Add ( "121. Cats sleep 16 hours of any given day." ) ;

catFacts . Add ( "122. Cats can pick up on your tone of voice, so sweet-talking to your cat has more of an impact than you think." ) ;

catFacts . Add ( "123. Cats prefer their food at room temperature not too hot, not too cold." ) ;

catFacts . Add ( "124. Around the world, cats take a break to nap ,a catnap, 425 million times a day." ) ;

catFacts . Add ( "125. A cat's heart beats almost double the rate of a human heart, from 110 to 140 beats per minute." ) ;

}

}