By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

Unable to receive FROM field in mail header

P: 254
Hiya all,

I m using class from php classes

I am using their simple script, but i cant really get the sender information in the headers. Wht can be the error, i am able to receive the from field but not able to get the recieve field.

Please take a look at the header given below, i have remove EMAIL address from the TO field for security reasons.
Expand|Select|Wrap|Line Numbers
  1. Received: (qmail 16283 invoked from network); 9 May 2008 06:27:22 -0000 Received: from unknown (HELO ([]) (envelope-sender ) by (qmail-1.03) with SMTP for ; 9 May 2008 06:27:22 -0000 Received: (qmail 7976 invoked from network); 9 May 2008 06:27:22 -0000 Received: from ([]) (envelope-sender ) by (qmail-ldap-1.03) with SMTP for ; 9 May 2008 06:27:22 -0000 Received: by with SMTP id s12so938128wxc.26 for ; Thu, 08 May 2008 23:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=UtNjFGquQvPLFsIZfIHNeGdvaoVE7x+XMT8lZEnQJqY=; b=X2vu3HOUCXY/9uh82NDJxy0MIPB4jzjV8YYwCoaxf9WtTUb4mElOL6frbXNt/Bl6cxyRUpcyR+r2LQwf9Z8RaQVrQ1IjGKwLHT+aGFZWrZxaZDd8+wzNPECCb5E8Wh2kprqsSXrn614cUeIqpuD3Yn9Tl5gdi99LFViEnL5Gx0U= DomainKey-Signature: a=rsa-sha1; c=nofws;; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=S+65zCL/3CXUE9FUPMCxXJN2BRCbZzzByCgDAvxjFgMXLcmDkX3dunmRFQdhLtxHEm3iwPsX73ErOvuXsvon9/+65efTc2HuIE5uQtMpSNCvra4nd9fMXawhXtvyNcW4yPeJPYlef+B4Zvzbztv2CXv3Bd3mAzVO8pBrVwPTDS8= Received: by with SMTP id d14mr5423008wxb.12.1210314438734; Thu, 08 May 2008 23:27:18 -0700 (PDT) Received: by with HTTP; Thu, 8 May 2008 23:27:18 -0700 (PDT) Message-ID: <> Date: Fri, 9 May 2008 11:57:18 +0530 From: Realin To: Subject: test MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_969_19695754.1210314438718" X-Nonspam: None .
Please help its urgent, Ronald(ronverdonk) i am looking for u mayne :P
May 9 '08 #1
Share this Question
Share on Google+
1 Reply

P: 254
well i have found the solution
i want to share with everyone who lands up here
you have to include the whole output in <pre> </pre> tags :P
or you can see the email addresses in teh source code :P

Now what i am looking for is a better way to extract a email address from these headers, instead of using regexp or string functions

any idea ?
May 9 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.