Hi,
We are using Aspose.Network[Version 3.6.0.0] component to send an email. But sometimes it's working and sometimes it's not.
Please see the following code which i have written.
SMTPServerAddress[IP ADDRESS] mentioned in web.config file.
Aspose.Network.License lic = new Aspose.Network.License();
lic.SetLicense(System.Configuration.ConfigurationSettings.AppSettings["AsposeLicPath"]);
Aspose.Network.Mail.MailMessage msg1 = new Aspose.Network.Mail.MailMessage();
msg1.Subject = "ThirupathiHY";
msg1.To = "munigyalathirupathi@hotmail.com";
msg1.TextBody = "Thirupathi_New";
msg1.Sender = "munigyalathirupathi@hotmail.com";
Aspose.Network.Mail.SmtpClient client1 = new Aspose.Network.Mail.SmtpClient(System.Configuration.ConfigurationSettings.AppSettings["SMTPServerAddress"]);
client1.AuthenticationMethod = Aspose.Network.Mail.SmtpAuthentication.None;
client1.Send(msg1);
Why it's behaving like that. If i use simple .net MailMessage class with same SMTP address,it's working fine.
I would appreciate for quick reply. Its urgent issue.
Thanks in Advance