I can easily create an email using the SMTP Client along with Mail message classes and this gives me a file with a .eml extension. What I want to do is to create a file with a .msg extension. Unfortunately, I don't have outlook, but is it possible in c# to create this file without needing outlook? If so, how?
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in OUTLOOK
- Act on Outlook mail item when opened for editing
- Outlook MailItem HTML Formatting Dropdown
- Is there such thing as Outlook Message Delimiter?
- EWS Service.FindItems() throws an exception when using SearchFilter.IsEqualTo
- How to show the appointment page from a form region in outlook
- How to be sure Outlook application has been loaded completely (application.StartUp event)
- Outlook 2013: select multiple emails and autoreply using template
- Access VBA To Send Query Results to Outlook Email in Table Format
- Visual Basic - Screen shot then insert into email
- create a outlook add-in to popup an input text field form for user info
- Table width does not work in Outlook 2010
- Modify background color of MailItem in Outlook 2013 Inbox
- Getting Outlook Window from VSTO Addin
- Too many mistakes: String not correct _1 ; Controlsend?
- Outlook 2013 VBA Public Variable Doesn't Persist
Related Questions in SMTP
- I want to develop an automated email application in asp.net with c#
- Sending emails from a (distributable) desktop application
- How to determine the smtp server save send mails or not?
- add smtp to php mail function using phpmailer
- Camel route, unparsed date
- Why does this python script work on Ubuntu but not Raspbian?
- Getting Null Pointer Exception while sending mail in JAVA
- Spring Integration: SMTP server
- Django & Amazon SES SMTP. Cannot send email
- logging.handlers.SMTPHandler raises smtplib.SMTPAuthenticationError
- to send email with different 'from' email address using gmail smtp server in django
- how dynamically signin to a pop3 email is possible?
- Amazon Simple Email Service (SES) - Should I use SMTP Interface or SES API?
- Sendemail on Linux Debian Wheezy gives errors on gmail and gmx accounts
- Send-MailMessage : The SMTP server requires a secure connection... The server response was: 5.5.1 Authentication Required.
Related Questions in MSGKIT
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use an open-source library like MsgKit to create MSG files without Outlook/MAPI - see https://github.com/Sicos1977/MsgKit.
If you have Outlook (and hence the MAPI system) installed but you prefer not to use OOM or MsgKit for some reason (performance, your code runs in a service, etc), you can use Redemption (I am its author) - it wraps Extended MAPI and would allow you to create standalone MSG files using RDOSession.CreateMessageFromMsgFile and either set properties one at a time or import your existing EML file using RDOMail.Import.