Пример #1
0
        protected virtual AmazonSimpleEmailServiceClient GetClient(AmazonEmailConfig config)
        {
            var client = new AmazonSimpleEmailServiceClient(config.AwsAccessKeyId, config.AwsSecretAccessKey, config.RegionEndPoint);

            return(client);
        }
Пример #2
0
 public AmazonEmailService(AmazonEmailConfig config, INotificationBodyParser parser = null) : base(parser)
 {
     this._client = this.GetClient(config);
 }