944,117 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1734
  • PHP RSS
Dec 12th, 2006
0

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

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vipindas is offline Offline
3 posts
since Dec 2006
Dec 13th, 2006
0

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

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.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Dec 14th, 2006
0

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

ya..,i have to extract the date from email headers.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vipindas is offline Offline
3 posts
since Dec 2006
Dec 14th, 2006
0

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

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.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Syntax error,plz help
Next Thread in PHP Forum Timeline: interact between php and flash using xml





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC