Commits

Scott Anderson committed e48df12

Small refactor.

  • Participants
  • Parent commits 97000c0

Comments (0)

Files changed (1)

File src/ActionMailer.Net.Postmark/PostmarkMailSender.cs

     /// Implementation of IMailSender that supports sending mail through Postmark.
     /// </summary>
     public class PostmarkMailSender : IMailSender {
-        private string _serverToken;
         private RestClient _client;
 
         /// <summary>
         /// </summary>
         /// <param name="serverToken">Your Postmark API server token to be used for sending emails.</param>
         public PostmarkMailSender(string serverToken) {
-            _serverToken = serverToken;
             _client = new RestClient("http://api.postmarkapp.com");
             _client.AddDefaultHeader("X-Postmark-Server-Token", serverToken);
         }