954,190 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

i want to use reply a mail giving senders sending date as reference.

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

vipindas
Newbie Poster
3 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

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.

Puckdropper
Posting Pro
500 posts since Jul 2004
Reputation Points: 23
Solved Threads: 23
 

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

vipindas
Newbie Poster
3 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

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.

Puckdropper
Posting Pro
500 posts since Jul 2004
Reputation Points: 23
Solved Threads: 23
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You