Hi,
if i download a message and handle the attachments afterward i want to add a Tag like " Done + Timestamp" to the Subject. However the change will never saved.
Code:
```
mail.Subject = mail.Subject + " // DONE " + DateTime.Now;
```
Any Ideas why? Or isn´t it supported?
br Nico
Comments: ** Comment from web user: avmpower01 **
if i download a message and handle the attachments afterward i want to add a Tag like " Done + Timestamp" to the Subject. However the change will never saved.
Code:
```
mail.Subject = mail.Subject + " // DONE " + DateTime.Now;
```
Any Ideas why? Or isn´t it supported?
br Nico
Comments: ** Comment from web user: avmpower01 **
I found an answer by my self.... seems to be a limitation if the IMAP Protocol himself. Therefor i tried to create a new mail and use the AppendMessage Function. Here i got a strange error as well.
for example:
```
mail.Subject = mail.Subject + " // DONE " + DateTime.Now;
folder.AppendMessage(mail.ToEml(), null, DateTime.Now);
mail.Remove();
```
i got an IO Exception that i cannot write into the connection. Reason: the remotehost has close the connection. If i comment out the "AppendMessage" Methode the "mail.Remove();" will work fine.
For my understanding the connection isn´t closed?!
br Nico