+1 vote

We temporarily save an EML file in our hard disk and Process.Start the file to allow the user the opportunity to edit the template EML before manually sending.

However the CC and BCC fields of the EML are not visible.

Are there save options we are missing when creating the EML file and saving to the disk?
Regards

by

1 Answer

0 votes
 
Best answer

CC: header is always saved.
BCC: header - it depends:

  • void Save(string path) - BCC: header is rendered.
  • void Render(Stream stream) - BCC: header is rendered.
  • byte[] Render() - BCC: header is not rendered.

Most of theses methods have overloads, that take additional parameter, that specifies if BCC header should be rendered or not.

by (301k points)
...