hai,
i am new to php.i want to use the mailing date of sender as the reference.
for example if any one send amail on 24/12/2006 then in the reply mail
to him ishoul add a reference line as follows.
ref:this is in response to your mail dated 24/12/2006.......
how can it make possible.
email:das@najsoftindia.com

Recommended Answers

All 3 Replies

What is your design? Are you trying to extract the date from email headers, or are you inserting that string in the body.

Please don't expect any emails from anyone on Daniweb, the rules say that everything should stay on the board.

ya..,i have to extract the date from email headers.

Ok, provided you have the headers, I'd consider matching the date using a Regular Expression... I'd have to look up the exact syntax for the regular expression yet, but you should be able to match and extract the date.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.