Free Support Forum - aspose.com

Font error in email opening

Hi,


we get the following issue when try to open the attached email. What is the issue here?

Caused by: class com.aspose.email.system.exceptions.ArgumentException: Font ‘Vijaya’ does not support style 'Regular’
com.aspose.email.internal.h.f.a(Unknown Source)
com.aspose.email.internal.h.f.(Unknown Source)
com.aspose.email.internal.h.f.(Unknown Source)
com.aspose.email.internal.h.f.(Unknown Source)
com.aspose.email.us.j(SourceFile:600)
com.aspose.email.us.a(SourceFile:549)
com.aspose.email.us.h(SourceFile:535)
com.aspose.email.us.a(SourceFile:276)
com.aspose.email.aww.g(SourceFile:267)
com.aspose.email.MapiMessageItemBase.d(SourceFile:1640)
com.aspose.email.MapiMessageItemBase.getBodyType(SourceFile:527)
com.aspose.email.MapiMessageItemBase.getBody(SourceFile:991)
com.aspose.email.MapiMessage.e(SourceFile:3908)
com.aspose.email.MapiMessage.a(SourceFile:2799)
com.aspose.email.MapiMessage.b(SourceFile:2449)
com.aspose.email.MapiMessage.fromMailMessage(SourceFile:1402)
com.aspose.email.MapiMessage.fromMailMessage(SourceFile:1357)


Thanks,
Mariusz

Hi Mariusz,


Thank you for contacting Aspose support team again.

This issue is re-produced and logged under Id: EMAILJAVA-34219 for further investigation by the product team. You will be automatically notified once any update is received in this regard.

Hi Mariusz,


A quick solution could be to moving the font file to another directory, then reinstalling it as in following steps:

1. Navigate to "%windir%\fonts"
2. Copy font “Vijaya” to temp folder
3. Uninstall font "Vijaya"
4. Reinstall font from temp folder

Please try it at your end and let us know your feedback.

Hi, it’s a server side when it fails which is Linux, not Windows.

Plus why we need any font or font validation during email reading? We just want to extract the email address.

Hi Mariusz,


We have fixed the issue and prepared an interim fix version Aspose.Email for Java 16.11.1 for this issue. Please try it at your end and let us know your feedback.

Link to Fix version: https://www.dropbox.com/s/bye5uoxqffvjy11/aspose-email-16.11.1-java.zip?dl=0

The issues you have found earlier (filed as EMAILJAVA-34219) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
(1)