We are using Aspose.Network[Version 184.108.40.206] 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();
Aspose.Network.Mail.MailMessage msg1 = new Aspose.Network.Mail.MailMessage();
msg1.Subject = "ThirupathiHY";
msg1.To = "firstname.lastname@example.org";
msg1.TextBody = "Thirupathi_New";
msg1.Sender = "email@example.com";
Aspose.Network.Mail.SmtpClient client1 = new Aspose.Network.Mail.SmtpClient(System.Configuration.ConfigurationSettings.AppSettings["SMTPServerAddress"]);
client1.AuthenticationMethod = Aspose.Network.Mail.SmtpAuthentication.None;
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