473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Unable to receive FROM field in mail header

realin
254 100+
Hiya all,

I m using pop3.class.php5.inc 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 p3presmtp01-12.prod.phx3.secureserver.net) ([208.109.80.161]) (envelope-sender ) by smtp31.prod.mesa1.secureserver.net (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 wx-out-0506.google.com ([66.249.82.226]) (envelope-sender ) by p3presmtp01-12.prod.phx3.secureserver.net (qmail-ldap-1.03) with SMTP for ; 9 May 2008 06:27:22 -0000 Received: by wx-out-0506.google.com 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; d=gmail.com; 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; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=S+65zCL/3CXUE9FUPMCxXJN2BRCbZzzByCgDAvxjFgMXLcmDkX3dunmRFQdhLtxHEm3iwPsX73ErOvuXsvon9/+65efTc2HuIE5uQtMpSNCvra4nd9fMXawhXtvyNcW4yPeJPYlef+B4Zvzbztv2CXv3Bd3mAzVO8pBrVwPTDS8= Received: by 10.70.80.14 with SMTP id d14mr5423008wxb.12.1210314438734; Thu, 08 May 2008 23:27:18 -0700 (PDT) Received: by 10.70.36.8 with HTTP; Thu, 8 May 2008 23:27:18 -0700 (PDT) Message-ID: <1573edbc0805082327t793aa441uc28b8228c84e7902@mail.gmail.com> Date: Fri, 9 May 2008 11:57:18 +0530 From: Realin To: removed@for_security_reason.com 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
1 1542
realin
254 100+
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

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

Similar topics

0
by: Wayno | last post by:
Hoping someone can help me out with this problem. First problem, is I am unable to view my php error log. In my php.ini I have my log in /var/www/logs/php_error_log. However, it has remained empty....
12
by: Sven Groot | last post by:
I have a Windows Service application that acts as if it's an SMTP server. Outlook connects to this service, which is always running on the localhost. This works fine most of the time. However,...
4
by: QQ | last post by:
Hello I am a newbie on network programming. I am trying to receive a packet if((numbytes = recvfrom(udp_fd1, buf, MAXLEN-1, 0,(struct sockaddr*)&register_addr, &addr_len))==-1){ fprintf(stderr,...
0
by: Steve - DND | last post by:
We are continually receiving timeout, and "Unable to write data to the transport connection" errors while using the System.Net.HttpWebRequest class from an ASP.Net web page. Below are the two...
0
by: Henry | last post by:
I have written an ASP/VB.Net application via VS 2003 (Crystal V9) that uses MS Access 2000 as its database. I can export reports that have no linked sub reports for printing. However, I'm unable...
2
by: Carmit | last post by:
Hi, I'm trying to build a proxy for this webservice: http://webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/EndTransactionLLSRQ.wsdl I'm getting the following error: Error: Unable to import...
6
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
4
by: david.isaacks | last post by:
Is there a way on a form of making one field the default field such that as soon as you navigate to the form page, the cursor is sitting on that field ready for data to be entered.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.