In the Programmer’s Guide, it speaks of Email, Outlook, Exchange, Thunderbird, etc.
Thank you for writing to Aspose Support team.
You can use the MailMessage API to create and save pre-filled messages for lateral view. You can create the message file, add attachments to it, fill the subject and message body details and then save to the following email formats that will open directly in default mail application.
- MSG format
- MSG Unicode format
- EML format
MailMessage msg = new MailMessage("email@example.com", "firstname.lastname@example.org", “Test Subject”, “Test body”);
Thank you, both. 2 more questions, please:
1. There is no other way than saving the message to disc first for opening the email.
2. Could you please your requirements about the opening of such emails with Gmail app, hotmail, etc.? As far as our knowledge is concerned, there is no such option of opening MSG or EML files with Gmail, hotmail or any other public service app. Please elaborate your requirements for further assistance.
The requirement is that I want to auto-generate an email form the app and send it to the user’s email app. I don’t want to deal with editing, sending, forwarding, etc. I want to simply send a barebones email message to the user’s default email app and let the default app handle all the heavy lifting.
This may not work for other email apps than MS Outlook as the flag is specific to MS Outlook. When a message is sent using the Aspose.Email API, it automatically appears in the Sent items of these emails services and you don’t have to mark it explicitly as Sent.