Aspose.Email 1.2.1 Released

Dear Customers,

Aspose.Email 1.2.1 released.

What’s new:

1) A new property called ExtendedObject is added to the Message class. With the help of it, we can easily trace whether the message is sent to the address.

Here is how to use ExtendedObject in batch sending mails :

DataTable dt = new DataTable();

dt.Columns.Add(“toEmail”, typeof
(string));
dt.Columns.Add(“Name”, typeof
(string));
dt.Columns.Add(“Amount”, typeof
(string));
dt.Columns.Add(“Extended”, typeof
(string));//the column contains extended information for example userName or
mail serial number

for (int i = 0; i < iTime ; i++)
dt.Rows.Add(new object[]
{ address.MailAddress,”Testing Mail Number ” +i, i.ToString(),i.ToString()});


batch.Merge(msg, new
Aspose.Email.DataTableMerger(dt, “toEmail”, string.Empty,

string.Empty,”Extended”));

private void OnMessageSent(object sender,
Aspose.Common.Events.EventArgs e)
{
this.pb.Value = 90;
Aspose.Email.Message msg = (Aspose.Email.Message)
e.RelatedObject;
object extened = msg.ExtendedObject;
// update database according to the extended
information
}