Created class to reduce data clump and extracted method to create mail session
Extracted method to construct message
Extracted method to send greeting to Employee from sendGreeting. Made fields public temporarily in the future adapter of GreetingsSender
Preparing to strangulate sending message functionality in BirthdayService
Got rid of most sending message code in BirthdayService
Got rid of protected method for testing purposes in BirthdayService
Moved all sending code to SmtpMessageSender
Introduced interface to inverse dependency on greeting senders
Deleted obsolete imports
SmtpMessageSender fields are private again
Reduced data clump introducing Greetings class
Reducing the number of parameters in sendMessage
Renamed class, introduced a constant and made some fields final
Translated Mail exceptions to a domain one and deleted obsolete imports
Made fields final
Moved to classes to main.core
Moved greetings sender adapter to its package
Some formatting changes
Refactored acceptance tests a bit
Removed obsolete parameters