New line is not displayed properly in meeting in outlook 2007/2003 when send from smtp

Hi everyone

I use aspose.network.dll (5.6.0.0).
The following code is used to send meeting invitation (it is received in outlooks 2003 and 2007):

SmtpClient smtpClient = new SmtpClient(“host”,email,“pass”);
MailAddressCollection recipients = new MailAddressCollection {email};
Appointment a = new Appointment(“location”,DateTime.Now,DateTime.Now.AddHours( 1),new MailAddress( email),recipients)
{
Description = “description” + Environment.NewLine + “from new line”
};

MailMessage mailMessage = new MailMessage(email,email);

mailMessage.AddAlternateView(a.RequestApointment());
smtpClient.Send(mailMessage);
Body of invitation received in outlook 2003:
description
\nfrom new line
Body of invitation received in outlook 2007:
Description:
description
So you can see that new line is displayed incorrect way in both outlook 2003 and 2007.
Please notice if you send emails through exchange 2003, they are displayed proper way in outlook 2003 and 2007.
Please advice how to fix this issue for smtpClient.

Thank you

Hi,


Thank you for inquiry.

I have reproduced the issue and logged a bug for this in our system (ID: 20154). We will look into it and will inform you when it will be fixed. Sorry for the inconvenience.

The issues you have found earlier (filed as 20154) have been fixed in [this update ](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry262044.aspx).

This message was posted using Notification2Forum from Downloads module by aspose.notifier.