title: Sending mail to Nop Commerce Customers in a Console application Project
body: <p>I am beginner in the Nop Commerce Project 2.30. I try to send mails to my Nop Commerce </p>
  
  <p>Clients ( in the database ) in a specific intervel ( every 12 Hours ). </p>
  
  <p>I create new method ( for create List of client list )  in the interface </p>
  
  <p><strong>Nop.Services.Customers.ICustomerService</strong> and implement this function, class is</p>
  
  <p><strong>Nop.Services.Customers.CustomerService</strong>. But a problem i can't create this method </p>
  
  <p>as <strong>static</strong> method. Please see image</p>
  
  <p><img src="https://i.stack.imgur.com/tnzMT.png" alt="enter image description here"></p>
  
  <p>Because <strong>CustomerService</strong> class is not contains the default </p>
  
  <p>constructor. This is the only one constructor in the CustomerService Class. </p>
  
  <p>Please see below.</p>
  
  <pre><code> public CustomerService(ICacheManager cacheManager,
              IRepository&lt;Customer&gt; customerRepository,
              IRepository&lt;CustomerRole&gt; customerRoleRepository,
              IRepository&lt;CustomerAttribute&gt; customerAttributeRepository,
              IEncryptionService encryptionService, 
              INewsLetterSubscriptionService newsLetterSubscriptionService,
              RewardPointsSettings rewardPointsSettings, 
              CustomerSettings customerSettings,
              IEventPublisher eventPublisher)
          {
              _cacheManager = cacheManager;
              _customerRepository = customerRepository;
              _customerRoleRepository = customerRoleRepository;
              _customerAttributeRepository = customerAttributeRepository;
              _encryptionService = encryptionService;
              _newsLetterSubscriptionService = newsLetterSubscriptionService;
              _rewardPointsSettings = rewardPointsSettings;
              _customerSettings = customerSettings;
              _eventPublisher = eventPublisher;
          }
  </code></pre>
  
  <p>I am clueless how to call this parameterized constructor in a external program. So i try </p>
  
  <p>to make my function is static. Any Idea to create a static method in nop. Please help</p>