Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Problem in sending Large Data to mail

$
0
0
Hi,
When i send mail it throw the following error(USING ASPOSE.EMAIL)

"The operation has DATA time out.Timeout 100000 has been reached"

i used the following code to send mail
I just use online db to provide content

MemoryStream mhtmlStream = new MemoryStream();
                    doc.Save(mhtmlStream, SaveFormat.Mhtml);
                    mhtmlStream.Position = 0;
                    MailMessage message = MailMessage.Load(mhtmlStream, new MhtmlLoadOptions());
                    message.Subject = reportParameters.emailSubject;
                    message.From = reportParameters.fromMailId;
                    message.To = reportParameters.toMailId;
                    SmtpClient client = new SmtpClient(reportParameters.mailHostName, reportParameters.mailPort, reportParameters.fromMailId, reportParameters.fromMailPassword);
                    client.SecurityOptions = SecurityOptions.SSLExplicit;
                    client.Send(message);


Pls provide the information for fast response........



Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images