title: How to generate an email that follow to email app format?
body: <pre><code>            gen_btn.setOnClickListener(new View.OnClickListener(){
              @Override
              public void onClick(View view){
              String to = text.getText().toString().trim();
              String subject = text2.getText().toString().trim();
              String content = text3.getText().toString().trim();
              StringBuffer buffer = new StringBuffer();
              buffer.append(to);
              buffer.append(subject);
              buffer.append(content);
  
              Intent email = new Intent(Intent.ACTION_SEND);
              email.putExtra(Intent.EXTRA_EMAIL, new String[]{to});
              email.putExtra(Intent.EXTRA_SUBJECT, subject);
              email.putExtra(Intent.EXTRA_TEXT, content);
              email.setType("message/rfc822");
              startActivity(email);
              startActivity(Intent.createChooser(email, ""));
  
              MultiFormatWriter multiFormatWriter = new MultiFormatWriter();
  
              try {
                  BitMatrix bitMatrix = multiFormatWriter.encode(email.getAction(), BarcodeFormat.QR_CODE, 250, 250);
                  BarcodeEncoder barcodeEncoder = new BarcodeEncoder();
                  Bitmap bitmap = barcodeEncoder.createBitmap(bitMatrix);
                  image.setImageBitmap(bitmap);
  
              }
              catch (WriterException e){
                e.printStackTrace();
  
              }
  
          }
  });
  </code></pre>
  
  <p>i already insert the email intent into my activity but the email that i generated are not follow the email format. is there any way to make my strings triggered to email apps format? please help thank you.</p>