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

Reply

Join Date: Dec 2006
Posts: 3
Reputation: vipindas is an unknown quantity at this point 
Solved Threads: 0
vipindas vipindas is offline Offline
Newbie Poster

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

 
0
  #1
Dec 12th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

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

 
0
  #2
Dec 13th, 2006
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.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 3
Reputation: vipindas is an unknown quantity at this point 
Solved Threads: 0
vipindas vipindas is offline Offline
Newbie Poster

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

 
0
  #3
Dec 14th, 2006
ya..,i have to extract the date from email headers.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

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

 
0
  #4
Dec 14th, 2006
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.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC