473,398 Members | 2,212 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,398 software developers and data experts.

cfpop - recognize original sender

Hi Community,

i have a problem. I want to know the original sender, when I forward a message via Outlook.

Example:
Person A sends a message to person B. Person B forwards the message to person C. Person C gets the message via cfpop and wants to know the original sender (person A).

I tried it with queryname.header but I only see person B (from) and person C (to). I also tried to forward the message via attachment but cfpop doesn't recognize the Outlook format.

What can I do?
Aug 15 '08 #1
7 2797
acoder
16,027 Expert Mod 8TB
Can you post the code that you've tried?

Are you using getAll for the action?
Aug 15 '08 #2
Expand|Select|Wrap|Line Numbers
  1. <cfpop action="GETALL
  2.        name="qGetMessages" 
  3.        messagenumber="#messagenumber#"
  4.        server="#pop_server#" 
  5.        username="#pop_user#" 
  6.        password="#pop_password#" 
  7.        attachmentpath="#attach_path#">
  8.  
  9. <cfif qGetMessages.recordCount>
  10.     <table width="100%" border="0" cellpadding="2" cellspacing="0">
  11.       ...
  12.  
  13.         <cfoutput query="qGetMessages">
  14.         <tr>
  15.             <td width="10%"><font size="2" face="Verdana">#qGetMessages.currentRow#</font></td>
  16.             <td width="20%"><font size="2" face="Verdana">#qGetMessages.from#</font></td>
  17.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.subject#</font></td>
  18.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.attachments#</font></td>
  19.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.attachmentfiles#</font></td>
  20.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.header#</font></td>
  21.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.date#</font></td>
  22.             <td width="40%"><font size="2" face="Verdana">#qGetMessages.to#</font></td>
  23.        </tr> 
  24.        </cfoutput>          
  25.        ...
  26.    </table>
  27. </cfif>
  28.  
Sep 4 '08 #3
acoder
16,027 Expert Mod 8TB
Does qGetMessages.header contain the original sender within the long strings on each row? If so, you'll need to parse it to get the information.
Sep 4 '08 #4
Does qGetMessages.header contain the original sender within the long strings on each row? If so, you'll need to parse it to get the information.
No, that's the problem! It contains only the address from the forwarder.
Sep 4 '08 #5
acoder
16,027 Expert Mod 8TB
Well, if it's not contained in the header, I can't think of any way that you could get that information.
What does something like this show?
Expand|Select|Wrap|Line Numbers
  1. <cfoutput query="qGetMessages">
  2.     #qGetMessages.header#
  3.     <hr>
  4. </cfoutput>
Just replace any sensitive information.
Sep 4 '08 #6
Received: from foo.bar.example (port-xx-xxx-xxx-xxx.static.foo.com [xx.xxx.xxx.xxx]) by mail.foobar.com (IceWarp 9.3.1) with ASMTP id KTF0815 for ; Thu, 04 Sep 2008 12:01:42 +0200 From: "ronjambo" To: Subject: WG: test Date: Thu, 4 Sep 2008 12:01:54 +0200 Message-ID: <001a01c90e75...0$ceabc340$@ronjambo@foobar.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_....086CBBC0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckOdRx....+yaQ/+lli7LzV9JZAAABzhg Content-Language: en


Message was from another person...
Sep 4 '08 #7
acoder
16,027 Expert Mod 8TB
I'm not sure exactly how this works, but have you checked the attachment contents for the rest of the headers. If it's not contained there, then this info. is probably not attainable.
Sep 4 '08 #8

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

Similar topics

6
by: Mark | last post by:
Is there anyway I can set up a personal 'remailer' type of thing on my domain ? I can not email a friend at his workplace because his company have put a 'block' on emails from my work address...
2
by: Burak | last post by:
Hello, I am trying to parse the following bounced email to get the email adress "Your message To: klshad903409@cnn.com Sent: Thu, 30 Oct 2003 11:05:05 -0500
1
by: needin4mation | last post by:
Hi, I am using C# in asp.net. I have my treeview control from my built ..dll on my toolbox. I can drop it on the webpage. What I cannot do is reference treeview objects from the codebehind form....
9
by: Dave | last post by:
Compilier will not recognize DataSet object. As you can see below is from a test simple form with no other code. I'm just trying to get any Aspx form to recognize the DataSet object. You can...
18
by: Euphor2 | last post by:
I'm in school, taking a VB .NET 2003 course, and the teacher taught us how to use Sender.Focus() to return focus to the control from which focus was received. However, when I got home, and tried...
8
by: iano | last post by:
I am trying to clone a VB6 app in Vb.Net as a learning exercise. For this effort I am not using Visual Studio.Net. So Far I have a form with a label, combobox and a command button. As I have done...
1
by: Krish | last post by:
Hi, I am using table control to create table/cell & 2 text box & one image button during runtime. Onclick event of image button i would like to validate if there is any value in either of text...
1
by: smj29576 | last post by:
I am using an Outlook rule to forward my email to my Blackberry after it has gone through spam check. This works fine except that now my office address is the sender instead of the original senders...
7
by: MLH | last post by:
If I'm using the following in a procedure... DoCmd.GoToRecord acDataForm, "FormName", acNext, 4 .... how can I recognize the EOF condition? Using GoToRecord, I find myself lost when trying to...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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.