We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Network 2008.11.21 work on Exchange 2010?

Hi there,

My client has Aspose.Network for .NET DLL version 2008.11.21 that i implemented in 2008. They are looking to upgrade to Exchange 2010, will this still work or will we need to change the code?

Here is a snippet

// Set up Aspose Netwrok client - NO SMTP AUTHENTICATION
Aspose.Network.Mail.SmtpClient client = new Aspose.Network.Mail.SmtpClient(exchange, 25);
client.AuthenticationMethod = Aspose.Network.Mail.SmtpAuthentication.None;
Aspose.Network.Mail.MailMessage msg = new Aspose.Network.Mail.MailMessage();

// Set key Appointment fields
// Subject is set on message here
msg.From = schedulerEmail;
msg.To = attendees;
msg.Subject = subject;
msg.Body = body.ToString();

// Subject is set in Calendar here
Aspose.Network.Mail.Calendar cal = new Aspose.Network.Mail.Calendar(location, subject, "", finalStartDate, finalEndDate, schedulerEmail, attendees);
cal.Summary = "";
cal.Description = "";
msg.AddCalendar(cal);

// Send Appointment
client.Send(msg);

Thanks,Matt

mmead@dxrms.com


This message was posted using Aspose.Live 2 Forum

Hi Matt,


Thanks for your inquiry.

You used Aspose.Network.Mail.SmtpClient class to send the email/meeting request using Exchange Server’s SMTP. This class implements the SMTP protocol and should work with any SMTP server.

PS: The Exchange Server 2010 supports EWS and we added a new class ExchangeWebServiceClient to do different things like send email, check mailbox, download messages etc. More details at http://www.aspose.com/documentation/.net-components/aspose.network-for-.net/managing-emails-on-exchange-server.html.