Hi,
Thanks for your inquiry.
I was able to reproduce this bug by using similar code as yours. I have also added it in our bug tracking system (ID: 11946). We will look into it and get back to you as soon as it is fixed. Sorry for the inconvenience.
Hi,
I would like to implement the same functionality as described in the post. Can you please keep me updated as well?
Thanks,
Ron van Leeuwen
Hi Ron,
Please subscribe to this thread, you will get a notification/update when this functionality is available.
Hi Saqib,
We are facing the same problem with Aspose.Network (version 5.1.0.0). Posted email displayed empty body with html attachment. Could you please provide the solution.
Regards,
Sachin Nagane
Hi Sachin,
The issues you have found earlier (filed as 11946) have been fixed in [this update](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry235287.aspx)
.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Currently I’m evaluating the latest version of Aspose.Network (5.6.0.0) and I’m still getting the messages with an empty body and the message included as “document.html” attachment. I’ve even tried the 5.5.0.0 version - same results.
While debugging I see that the message is properly formated, HTML body is correctly set but while the message is being sent then something is going wrong I guess. Could you look at this issue please as we really need this functionality?
Regards,
Samir
Hi Samir,
I've attached a demo project where you can reproduce this issue. You would need to change the email addresses and the smtp host as well.
Aspose.Words I've used here is version 6.6 but the latest version does not change anything here.
Regards,
Samir
P.S. I guess you will need to update your documentation. Over here: http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-convert-a-document-to-mhtml-and-email.html the following Load() function is used:
MailMessage message = MailMessage.Load(stream);
but in the sample you've been referring to:
MailMessage message = MailMessage.Load(stream, MessageFormat.Mht)
This makes a huge difference as the message is delivered properly now. Thank you.
Hi Samir,