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

Getting only sent time from email header.

$
0
0
Hi Aspose,

I'm trying to get the email received time from email message. using msg.Headers.Get("Received").

But it returns the lot of information as below. is there  any other way to get only the email received date?
 
[by 10.68.191.201 with SMTP id ha9csp261398pbc;        Tue, 17 Dec 2013 19:21:49 -0800 (PST),from mo.mxl.2iij.net (mo1502.mxl.2iij.net. [203.180.99.20])        by mx.google.com with ESMTPS id q8si13175077pav.202.2013.12.17.19.21.48        for <abc222@gmail.com>        (version=TLSv1 cipher=RC4-SHA bits=128/128);        Tue, 17 Dec 2013 19:21:49 -0800 (PST),by mo.mxl.2iij.net (mxl-mo1502) id rBI3LlSg023057; Wed, 18 Dec 2013 12:21:48 +0900,from unknown [210.173.21.247] (EHLO mx03.abc.co.jp)by mas1500a.mxl.2iij.net(mxl_mta-6.15.0-9) over TLS secured channelwith ESMTP id bc411b25.0.148876.00-452.259672.mas1500a.mxl.2iij.net (envelope-from <nayana.adassuriyage@abc.com>);Wed, 18 Dec 2013 12:21:48 +0900 (JST),from mailgw1.abc.com ([13.198.8.182])       by mx03.abc.co.jp with ESMTP id rBI3Llfm007397       for <abc222@gmail.com>; Wed, 18 Dec 2013 12:21:47 +0900,from unknown (HELO SGPAPHQ-EXHUB03.dc01.abc.net) ([13.198.9.250])  by mailgw1.abc.com with ESMTP; 18 Dec 2013 11:21:47 +0800,from sgpaphq-exccr01.dc01.abc.net ([fe80::350d:30d6:d652:dac5]) by SGPAPHQ-EXHUB03.dc01.abc.net ([2002:dc6:9fa::dc6:9fa]) with mapi; Wed, 18 Dec 2013 11:21:46 +0800]

Viewing all articles
Browse latest Browse all 1367

Trending Articles