-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to create/build a page using asp.net core to read/extract mail message header #19
Comments
Thanks for your interest in free consulting service. We'll provide you a solution soon. |
Thank you so much |
Please check the following project built using Aspose.Email for .NET and ASP.NET Core: https://github.com/aspose-free-consulting/create-page-using-asp.net-core-to-read-email-message-header I hope this will be a good start for you to explore more features of Aspose.Email API and take your project to the next level. If you find any further questions, please do let us know. |
Thanks! |
Can you please elaborate what you mean by "message header analysis"? |
Just don't know what method I need to use to convert the message header. |
Thanks for sharing further update. We'll get back to you soon with details. |
@shahzad-latif Thanks for your help |
We have observed the requirement image shared by you. Actually, you are trying to extract the receive header information form message. Till this level, Aspose.Email API does support extracting the receiver header information and represent that in a Receive Header key with a string. I have worked on one of examples and it has following extracted Received header information: sys190.ZenQaTest1.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Apr 2010 11:09:33 +0530,from [192.168.2.39] ([192.168.2.39]) by Ex2003Test1.ZenQaTest1.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 1 Apr 2010 11:09:30 +0530 So, as per your requirement image of received header, you probably want to extract following information from above header in following form: submitting host: Ex2003Test1.ZenQaTest1.com The API extracts the complete header and in order to represent the different portions of header information as mentioned in your required image, one has to write his own string parsing application to parse and extract the header data as per your requirement. However, the issue that the header information is not constant and it will either have some or all information sub-strings available in overall header string. Secondly, there can be multiple iterations of data received header information as well. The API does not have such support as it fetches the complete header information. The header information continue to append further when message hopes from one to other server or between different clients. So we cannot devise a generalized string tokenizer for this. However, if you still want to extract and represent the information, you may share your message file with us and we can try to write parser to meet your requirements and display the content as you like to have. But the implemented scheme may or may not be applicable to another email MSG. I hope this will clarify the limitations and possible choices to you. |
Please check if it satisfies the following requirements:
If your requirement is actually a bug in our APIs or a feature request for our APIs then please use our forum to report it and get quick help: https://forum.aspose.com/
If all the above requirements are satisfied then please move on:
< describe your free consulting project requirements briefly>
< which platform you're working on -- operating system, development environment etc.>
The text was updated successfully, but these errors were encountered: