Aspose Adding Additional Quotes In Mail Message Appointment Alternate View - Cannot Then Convert To Mapi Message

I have a calendar invite. I am trying to convert it first to MailMessage and then to MapiMessage. During mail message creation, Aspose is adding additional quotes in the appointment alternate view before every quote in the calendar invite attendees. As a result of this, the conversion to mapi message is failing. Could you please advise.

My calendar invite is as follows
invite.zip (542 Bytes)

During conversion to MapiMessage, the exception that I get is

com.aspose.email.system.exceptions.UriFormatException: Invalid URI: The format of the URI could not be determined: ""mailto

Hello @gs01,

Thank you for writing to our forum.

Could you please provide a code sample for investigation?

Thank you.

Hi

The code sample is as below -

...
MailMessage mailMessage = new MailMessage();
...
Appointment appointment = Appointment.load(
				new ByteArrayInputStream(appointmentBytes),
				APPOINTMENT_LOAD_OPTIONS);
alternateView = appointment.requestApointment();
mailMessage.getAlternateViews().addItem(alternateView);
...
MapiMessage mapiMessage = MapiMessage.fromMailMessage(mailMessage, MAPI_CONVERSION_OPTIONS);

@gs01
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): EMAILJAVA-35202

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like

Thank you @sergey.vivsiuk .
Could you provide a rough timeline so that I can track this?
I am also assuming that the fix will go in a new release with a version upgrade. Is that correct?

Any piece of information will be very beneficial.

Note: We (Global Relay) are paid customers and pay for Aspose word and email.

Hello @vsingh52,

The new version 23.8 will be released by the end of next week, before Sep 7

That’s fantastic! Thank you so much @sergey.vivsiuk.
Once we have the new version, we will do the needful at our side to verify the fix.

@sergey.vivsiuk Will it be possible to add this fix to version 21.2.1 as that is the version we are currently on and if we upgrade it will create lot of testing work for us ?

@vsingh52,

We have prepared the hotfix release 21.2.0.1

@sergey.vivsiuk That is a great news. Could you make that fix available in the maven repo Aspose Repository Browser /java/repo/com/aspose/aspose-email/ ?

Thank you

@vsingh52,

Sorry, but this fix is not intended to be published in a public maven repo.

Hi @dmitry.samodurov,
Could you explain the reason for that?

Regards
Varun

Hello @vsingh52,

We decided to add this fix to maven. Sorry for the confusion.

Thanks so much @dmitry.samodurov

Could you please confirm that the hotfix release (21.2.0.1) is based on our version (21.2.1)? From the numbering, it seems that the hotfix might be on an earlier version to ours? When testing the hotfix, we found that the LinkedResource class is missing the getContentDisposition method. If the hotfix is not based on version 21.2.1, then could you please provide us with a hotfix for version 21.2.1. Thanks.

Hello @gs01,

Your issue is taken for investigation. We’ll contact you as soon as we have results.

Thanks for reporting your case.

Hello @gs01,

This is my fault and the hotfix release 21.2.0.1 was based on version 21.2
We have published to maven hotfix 21.2.1.1 for version 21.2.1
We’re sorry to keep you wait. Thanks for your patience.