title: Send email with attachment in C# using Amazon SES
body: <p>I am using Amazon SES to send email. How to send email with attachment in C# using Amazon SES?</p>
  
  <p>Code:</p>
  
  <pre><code>            AmazonSimpleEmailServiceConfig amConfig = new AmazonSimpleEmailServiceConfig();
              amConfig.UseSecureStringForAwsSecretKey = false;
              AmazonSimpleEmailServiceClient amzClient = new AmazonSimpleEmailServiceClient("username", "password", amConfig);
              ArrayList to = new ArrayList();                        
              to.Add("sharmila@test.com");
  
              Destination dest = new Destination();
              dest.WithBccAddresses((string[])to.ToArray(typeof(string)));
              string body = "INSERT HTML BODY HERE";
              string subject = "INSERT EMAIL SUBJECT HERE";
              Body bdy = new Body();
              bdy.Html = new Amazon.SimpleEmail.Model.Content(body);
              Amazon.SimpleEmail.Model.Content title = new Amazon.SimpleEmail.Model.Content(subject);
              Message message = new Message(title, bdy);
              SendEmailRequest ser = new SendEmailRequest("websupport@test.com", dest, message);
              SendEmailResponse seResponse = amzClient.SendEmail(ser);
              SendEmailResult seResult = seResponse.SendEmailResult; 
  </code></pre>