donot see the option to save the email as a seprate file in sharepoint blog post email enabled list? -


i have requirement client store email seprate file in 1 of blog site have created. when see posts(default blog site) incoming email settings, not see option save .eml file. please me if there workaround this.

i'm think need create email receiver. inside email receiver, save .eml file separately.

*edit*

code article:

byte[] binarycontent = null; string mailcontent = string.empty;  using (stream stream = emailmessage.getmessagestream()) {     using (streamreader sr = new streamreader(stream))     {         mailcontent = sr.readtoend();         sr.close();     }      binarycontent = encoding.utf8.getbytes(mailcontent);     stream.close(); }  // overwrite previous files same name spfile file = folder.files.add(url, binarycontent, true); 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -