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

class com.aspose.email.system.exceptions.ArgumentException: Item has already been added

$
0
0
Hi,
Trying to load calendar item into pst using this code : 

Appointment app = Appointment.load(..);

MailMessage msg = new MailMessage();

msg.addAlternateView(app.requestApointment());


and getting next exception :

class com.aspose.email.system.exceptions.ArgumentException: Item has already been added. Key in dictionary: 'Content-Transfer-Encoding'  Key being added: 'Content-Transfer-Encoding'
Dec 22 12:04:44 10.0.203.200 com.aspose.email.system.collections.Hashtable.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.system.collections.Hashtable.addItem(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.HeaderCollection.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.HeaderCollection.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.HeaderCollection.set_Item(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.vd.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.AttachmentBase.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.AlternateView.b(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.AlternateView.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.Appointment.a(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.Appointment.requestApointment(Unknown Source)
Dec 22 12:04:44 10.0.203.200 com.aspose.email.Appointment.requestApointment(Unknown Source)



Viewing all articles
Browse latest Browse all 1367