Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

MailMessage is not been getting load using eml load option

$
0
0
Hello Team,

Good Day, i've been using Aspose.Email latest version 17.2.0.0 C# SDK for create PST File.

I'm getting this exception while loading MailMessage using an eml file, i don't have any knowledge about the flow of Aspose, i'm assuming that while parsing eml file specifically at transport message header part of the eml something has gone wrong.

Please refer the following code and exception details : 

 class Program
    {
        static void Main(string[] args)
        {
            try
            {
                string f_tmpEmlPath = @"C:\test2.eml";
                MailMessage f_Objmailmessage = null;
                f_Objmailmessage = MailMessage.Load(f_tmpEmlPath, new EmlLoadOptions());
            }
            catch (Exception ex)
            {
                               
            }
          
        }

=======================================================================================================================
Exception Details :  
System.NotSupportedException
Culture 'ar' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.

Stack Trace of the Exception :

   at System.Globalization.CultureInfo.CheckNeutral(CultureInfo culture)
   at System.Globalization.CultureInfo.get_DateTimeFormat()
   at System.DateTime.TryParse(String s, IFormatProvider provider, DateTimeStyles styles, DateTime& result)
   at #=q4uwVnuLC1ayRpzDK8QZevrNAY7ZVEqzLNfU1hHCjmVo0O0rNT6Sm7aY_zh6TAtx1.#=qcqMA7seam2DyJcOmi6h$6LHnqd7Y2DacN4vjm9XXMV8=(String #=qmRnPt6RPHQB0kSokWjDDew==, DateTime& #=qQqIO990f46MDPBOU$sUFeg==, TimeSpan& #=qVR_g$QpK_wpGNXMbrNFeiw==)
   at #=q4uwVnuLC1ayRpzDK8QZevrNAY7ZVEqzLNfU1hHCjmVo0O0rNT6Sm7aY_zh6TAtx1.#=qNpnHkQxJjDdKArapxlT08g==(String #=qmRnPt6RPHQB0kSokWjDDew==, TimeSpan& #=qVR_g$QpK_wpGNXMbrNFeiw==)
   at #=qYfDZ_geDpxQH0Re3eCFyHkW6fnFJ3xKkw1LKFlYTWIlabaT5bFe3$jMMP8wOoUvw..ctor(String #=q5LRyUbHU6CDlOt_dPAwSsA==)
   at #=qNwbRs5ndFWee3kt6UXs4R3ojTV6sEdHKiREnsoLYBZ0W8$R98fMRVzTM7yAZB0zh.#=qlF3W3Yyze1X8hCTAXfWkC8jJ3WzosIQic1SAqI5AbQw=(#=qOCMrT7ae_v81TnXZv

I have so attached sample eml And one screenshot(please refer this screenshot for detailed info) in which its getting reproduced.

We are expecting this issue to be resolved at earliest as we are at the verge of the release so please consider this at HIGH priority.

Looking for positive reponse.

Thank You.

Regards,
Amit

Viewing all articles
Browse latest Browse all 1367

Trending Articles