Email Message Headers

Hi,
I'm trying to track bounced emails using a custom header when I send them.
When I try to retrieve the bounced messages using POP3 I am unable to access the header information, even though I can see it in the message properties in Outlook.
Does anyone know a way to retrieve all the message headers in an email, or how to access the message properties as seen in Outlook?
Thanks,
Kevin.

If the server is working the way it is supposed to (and if I remember my RFC's correctly) the original message, including the headers, are in the body of the bounced message. The bounce message is a completely new message that was constructed with parts of the originals headers but does not have all the information. You'll have to write some kind of regular expression to pull the content out.

Similar Messages

  • Outlook and email message bodies

    Hi all,
    Is there any way to have Outlook download only email message headers, and download message bodies only when a message is viewed?
    Thanks.
    ssb

    sbb,
    this is the default operation of Outlook with OBEO in folders other than the Inbox: when you click on a folder that was not previously accessed by that very PC workstation, OBEO will start fetching the mail headers. Only mails that you select are fetched entirely.
    You can configure this in the properties dialogue of the respective folder. Under "administration" you can choose to download fetch only headers or complete messages.
    In the current absense of server based search for OBEO downloading only headers has the serious consequence that a text body search will return empty results, even if they should be there: OBEO only has its cache to base searches on (I would favour an implementation that fetches the complete messages when a text body search is done - I think Thunderbird acts similarly).
    Whole trees of mail directories can be set to the same download mode in one run in one of the options dialogues. Setting a lot of folders to complete message download can make OBEO appear a bit sluggish on not-so-current PC workstations.
    Regards, Tom

  • I want to change the layout of my email messages so that the message is at the side of the headers not below them

    i want to change the layout of my email messages so that the message is at the side of the headers not below them. i have just downloaded mozilla thunderbird on to my new laptop at i cant get the layout that I prefer back. please help . thanks june

    ''queenofpersia [[#question-1050056|said]]''
    <blockquote>
    i want to change the layout of my email messages so that the message is at the side of the headers not below them. i have just downloaded mozilla thunderbird on to my new laptop at i cant get the layout that I prefer back. please help . thanks june
    </blockquote>
    thank you so much Airmail. I had been told this was the way to do it but couldnt find the menu bar, but now I have. thank you so much for your help, so simple and yet it has made my day! best wishes june

  • Blank incoming email messages - only in Mail

    There's some email lists that I subscribe to, with automated earthquake and volcano information, and recently the emails are blank, when I view them using Mac Mail. However, if I check my email with a browser, I can see the content of the message. If I look at these emails in Mail with the Raw Source, they are still blank. Does anybody know what is up? Someone thought perhaps a newer version of Mail is pickier about html. I've not found anyone else with the same problem in my office, and I don't see a mention of it on the discussion boards.
    Cheers, Peter

    First off, view the Long Header details (from Mail, choose View > Message > Long Headers; from MobileMe Mail, the gearbox button (list of actions) > Preferences > Viewing > Enable "Show Long Headers"). This exposes a whole lot of heretofore invisible data.
    Making sense of it is another issue, but I think I may have found something (from a Mac user, to boot) that seems to hit the nail right on the head.
    Robert Vaessen has a very extensive, scholarly post, dated January of this year, about this very issue on his site at <http://www.robsworld.org/blankemail.html>. The post is detailed, technical, and certainly worth reading for anyone who is concerned enough to have sought out this discussion thread. But to cut to the chase, here is his conclusion:
    +"It is my opinion, (based upon more than ten years worth of fighting spam, ten years of running web sites, and extensive research) that these blank emails (in my experience), and millions like them are part of a growing spam problem. These blank email messages represent part of a spammers whitelisting effort. Responses which generate bounce messages permit the spammer to refine his/her recipient list, while the ones that get delivered are marked as valid addressees. These lists are then used by the spammer in his/her own campaign, sold to other spammers, or both."+
    He recommends (and provides some how to's for) reporting the emails back up the food chain as the best thing we can do to help cauterize the bleeding. What I'm wondering now is if we can somehow (SpamSieve, maybe?) set our Macs to bounce anything from the offending servers, so that our address becomes 'dead' to them.
    I'm also pursuing this with MobileMe support—it seems that everything to do with MobileMe is now being handled outside of AppleCare, and the only path is online chatting with them. I'm also curious as to why my MobileMe account seems to be the only place these are surfacing; i.e., are my other accounts' servers already bouncing such messages, or am I just not seeing them? If I get anything helpful from MobileMe, I'll post it here.

  • Forward email message as attachment

    Is there a easy way within Mail.app to forward another email message as an attachment? I use a anti-spam service that requires you to email them spam messages as attachments in order for them to learn how to block that type of spam. I can't seem to just drag a message into the new messasge window and I don't see another option working.

    I don't believe this is possible with Mail.
    I understand this is what they specifically want but have you asked?
    Since all email clients do not support this, I find it difficult to believe they will flat out refuse to accept the required information any other way which is the long message headers for the received message which is easy to reveal and then forward.

  • Printing Email Message without List of Recipients

    I consistently receive email messages with dozens of recipients. How do I print the message without printing the complete list of recipients. It is especially problematic when the email is forwarded from another email with dozens of recipients, which puts the "To:" field within the body of the actual message forwarded.
    How did Apple not make this an adjustable feature?

    That doesn't explain, however why I cannot print any email sent to many correspondents with just a condensed recipient list (6 addresses more or less then an option to expand the remaining list) the same way I view it in the Apple Mail browser.
    You can print such emails, though the recipient list may not be as long or short as you like. If you select a message and open it, you can then choose to display it with Long Headers, which will show you 4 or more recipients; or as Raw Source, which will show every minute detail of that received email. Other than that, you have no control over what is displayed.
    Is there an AppleScript available?
    I've not seen one yet, so I don't believe it can be done via AppleScript.

  • Displaying full message headers

    I'm trying to debug a BlackBerry-specific email issue and I need to be able to display full message headers in a BlackBerry to be able to do. My searching around the net has only dug up two or three folks saying it's not possible. Is this true? If not, how do I do it? I've been through every option screen I can find.

    starman7 wrote:
    Any way to see in Convergence?Right click email to get context menu => Other... => "Display Full Headers".
    Regards,
    Shane.

  • Why don't I see me full email message on my iPad anymore?

    My iPad no longer displays the body of email messages, only the headers. What is wrong?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Query on email message via dreamweaver mail form

    Hello All,
    First time I've done a mail form so not sure if this is what is supposed to happen. When an email is received via the mail form it has 'submit submit' at the bottom of the message and I'd like to get rid of it if poss.
    The code is:
    <div id="form"><form id="contactform" name="contactform" method="post" action="FormToEmail.php">
          <label>Your Name:<br />
    <input name="name" type="text" id="name" />
    <br />
    </label>
      <br />
      <label>Your Email Address:<br />
    <input name="email" type="text" id="email" />
      </label>
      <br />
      <br />
      <label>Your Message:<br />
    <textarea name="message" cols="50" rows="10" id="message"></textarea>
      </label>
      <br />
      <br />
      <input type="submit" name="Submit" value="Submit" />
    And the php is:
    $errors = array();
    // Remove $_COOKIE elements from $_REQUEST.
    if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
    // Check all fields for an email header.
    function recursive_array_check_header($element_value)
    global $set;
    if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
    recursive_array_check_header($_REQUEST);
    if($set){$errors[] = "You cannot send an email header";}
    unset($set);
    // Validate email field.
    if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
    if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
    $_REQUEST['email'] = trim($_REQUEST['email']);
    if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
    // Check referrer is from same site.
    if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
    // Check for a blank form.
    function recursive_array_check_blank($element_value)
    global $set;
    if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
    recursive_array_check_blank($_REQUEST);
    if(!$set){$errors[] = "You cannot send a blank form";}
    unset($set);
    // Display any errors and exit if errors exist.
    if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
    if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
    // Build message.
    function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
    $message = build_message($_REQUEST);
    $message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
    $message = stripslashes($message);
    $subject = "TOP FLOOR WEBSITE ENQUIRY";
    $headers = "From: " . $_REQUEST['email'];
    mail($my_email,$subject,$message,$headers);
    ?>
    Thanks alot in advance

    Wow. Not much defeats legibilty quite as well as avoiding line feeds and indention in recursive code! (and inserting multiple blank lines? Was that this online editor?)
    Anyway, I did not test this, but try replacing your build_message function,
    function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
    With this:
    function build_message($request_input) {
      if(!isset($message_output)) {
        $message_output ="";
      if(!is_array($request_input)) {
        $message_output = $request_input;
      else{
        foreach($request_input as $key => $value) {
          if(!empty($value)) {
            if(!is_numeric($key)) {
              $message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;
            else {
              if ($key != strtolower('submit') {
                $message_output .= build_message($value).", ";
      return rtrim($message_output,", ");
    (Added condition for 'submit')
    Also, I highly recommend replacing all those $_REQUEST with $_POST or $_GET, whichever is appropriate for your form.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    If you are reading this via email, be aware that it may not be an accurate representation of my message. Login to read the actual message and/or to reply.

  • Strange email messages

    For some reason my emails are coming up with all sorts of messages i.e. by 10.229.223.129 with SMTP id ik1cs34512qcb; Wed, 25 Aug 2010 07:51:25 -0700 (PDT)
    Received: by 10.216.54.9 with SMTP id h9mr916892wec.34.1282747883597; Wed, 25 Aug 2010 07:51:23 -0700 (PDT)
    Received: from ak k [195.188.213.65]) by mx.google.com with ESMTP id w9si2265281weq.153.2010.08.25.07.51.22; Wed, 25 Aug 2010 07:51:23 -0700 (PDT)
    Received: from [82.43.217.39] (helo=[192.168.2.4]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1OoHJx-0005dt-7S for Wed, 25 Aug 2010 15:51:22 +0100
    Return-Path:
    Received-Spf: pass (google.com: domain of c designates 195.188.213.65 as permitted sender) client-ip=195.188.213.65;
    Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 195.188.213.65 as permitted sender) smtp.mail=
    Message-Id: <[email protected]>
    Content-Type: multipart/alternative; boundary=Apple-Mail-1--501996987
    Mime-Version: 1.0 (Apple Message framework v936)
    References: <[email protected]nternal>
    X-Mailer: Apple Mail (2.936)
    I dont know how to get rid of it.
    Also I appear to have lost my junk mail icon. Everything is going into my in box
    Please help
    Message was edited by: carolbl

    Looks like you inadvertently turned on 'Full Message Headers'
    In Mail Preferences, Viewing, set Message Detail to 'Default' or 'none' instead of 'Full'

  • Email messages not displaying since Marverick installation

    Since I installed Maverick this morning I am having countelss problems particularly with Apple Mail
    1) Smart mailboxes: it takes forever to display content
    2) Messages not displaying: some old email messages appear suddently as blank messages, not text, headers or anything. Even when trying to display message as "raw source" nothng happens. Absolutely BLANK
    3) Gmail: "All mail" folders from Gmail disapeared after upgrade
    I restarted the computer, I restarted Apple Mail several times and still have the same problems.
    Any suggestions? If not, how do I downgrade to the previous OS version?
    Thanks,
    SB

    Is this with a specific account or all three accounts?
    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?

  • How can email internet headers be retained when rendering MSG files to PDF?

    I am using Acrobat X Pro and it is a simple task to create a PDF rendition of an Outlook email message, either directly from Outlook using the Acrobat plug-in or by saving as an MSG file and then converting to PDF. However, all of the internet header metadata within the MSG file is lost. I've been told by someone from the PDF Association that it is possible to retain the internet header data when converting Outlook emails to PDF but cannot see how this can be done with Acrobat X Pro. Is this only possible with Acrobat XI or is another product or plug-in needed?

    Unfortunately the entire header information isn't stored in the Outlook messsage. Because Outlook is a MAPI client, it doesn't store messages in native SMTP format.  So messages in Outlook are converted to MAPI, and the data is stored in a set of MAPI properties. You'll need to retrieve the properties in order to print them (or create a PDF). I've never tried it, but here is an example of a macro for Outlook that will attempt the following:
    Retrieve the internet message headers from the original message and store them in the body of the new post item.
    Add the subject and received time so that you can visually "see" that these headers go with the original item.
    Attaches the original item to the new post.
    Asks if you are ready to print both the new post item and the original together.
    http://blogs.technet.com/b/sbradley/archive/2012/10/31/internet-headers-and-outlook.aspx

  • Can I save an email message as .eml file and open it using outlook?

    Hi all,
    I use the following codes to save the received email message as .eml files:
    Session session = (Session)map.get("CURRENT_SESSION");
    //InputStream is = msg.getInputStream();
    MimeMessage mm = new MimeMessage(session, msg.getInputStream());
    String filePath = AttachmentProcess.getInstance().getFilePath(attachmentId);
    String fileName = AttachmentProcess.getInstance().getFileName(attachmentId);
    mm.saveChanges();
    mm.writeTo(new FileOutputStream(new File(filePath, fileName)));
    But when I open it using window live mail, its content looks like this:
    ------_=_NextPart_001_01CA7E32.F3122E40
    Content-Type: text/plain;
    charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    =20
    New interaction from Thomas Lo on assignment "Assignment Enhancement":
    =20
    Interaction body goes here
    =20
    =20
    When this email is sent to [email protected], it will be filed into
    assignment "Assignment Enhancement" automatically.
    Please don't modify this line. [ID: ASIGMT 51]
    ------_=_NextPart_001_01CA7E32.F3122E40
    Content-Type: text/html;
    charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
    xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
    xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
    xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
    xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" =
    xmlns:a=3D"urn:schemas-microsoft-com:office:access" =
    xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" =
    xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" =
    xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" =
    xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" =
    xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" =
    xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" =
    xmlns:odc=3D"urn:schemas-microsoft-com:office:odc" =
    xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" =
    xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
    xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" =
    xmlns:rtc=3D"http://microsoft.com/officenet/conferencing" =
    xmlns:D=3D"DAV:" xmlns:Repl=3D"http://schemas.microsoft.com/repl/" =
    xmlns:mt=3D"http://schemas.microsoft.com/sharepoint/soap/meetings/" =
    xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" =
    xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" =
    xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" =
    xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" =
    xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
    xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
    xmlns:udc=3D"http://schemas.microsoft.com/data/udc" =
    xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =
    xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"=
    xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" =
    xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" =
    xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" =
    xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
    xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/soap" =
    xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" =
    xmlns:udcp2p=3D"http://schemas.microsoft.com/data/udc/parttopart" =
    xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-html40"
    xmlns:ns2=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/"
    xmlns:ns3=3D"http://schemas.microsoft.com/office/2006/digsig-setup"
    xmlns:ns4=3D"http://schemas.microsoft.com/office/2006/digsig"
    xmlns:ns5=3D"http://schemas.openxmlformats.org/package/2006/digital-signa=
    ture"
    ------_=_NextPart_001_01CA7E32.F3122E40--
    Can anybody help me ?

    This works now by coping all headers to the new MimeMessage from the coming message.
    But one issue occurs when the email contains attachments.Because all attachment will be display on the email body.
    What happens?

  • How can I calculate the total size of my email messages?

    I have an iMac and MacBook Pro. I use Apple's Mail application on each computer and have three email accounts that are feeding into it. I currently synchronize everything through MobileMe. I want to know how to calculate how many MB (probably several GB!) of space my email messages are now using, as I want to upgrade to Lion on the two computers and will soon be getting a 32BG iPad on which I would like to use the Mail application as well. I'd like to know in advance if I need to pay for more than the 5GB of free storage that iCloud will give me before making these changes, as I don't want to lose my email messages. For various reasons, I'd prefer not to go the route of archiving the messages. I can't figure out how to calculate how much space the messages are currently using.

    The important detail is the cylinders not the partition numbers. The partitions are simply slots where cylinder space can be assigned if its available.
    The backup partition (2) represents the whole disk and shows you have 14086 cylinders available.
    But you'll notice that all of those cylinders are already assigned to various partitions. So there is no free space available.

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

Maybe you are looking for

  • My playlists on my iPhone 6 plus are gone

    I think I am not the only one having some sort of sync issue right now... I have a 6-plus, loaded with some 60 GB of music, all carefully curated into playlists. I upgraded to I0S 8.3 yesterday and today bought a bunch of new tunes via my computer. I

  • Performance problems with 0EC_PCA_3 datasource

    Hi experts, We have recently upgraded the Business Content in our BW system, as well as the plug-in on R/3 side. Now we have BC3.3 and PI2004.1. Given the opportunity, we decided to apply the new 0EC_PCA_3 and 0EC_PCA_4 datasources that provide more

  • Error during the scheduling of splits

    The long text saying that the person might be not available.  But how is it possible to get an overview of the personal assignments to check if person is available or not?

  • Online keyboard shortcuts documentation for Final Cut Pro 6

    Hello, Does anyone know where to find a pdf or other doc or website for Final Cut Pro 6 keyboard shortcuts online? There's not one in the manual that I could find, actually (still getting acclimated from Avid days, I sure could use an extensive refer

  • Easiest way to create h2s and h3s in Robohelp 8

    I've created my toc book in RoboHelp 8, but having a tough time determining how to drill down in the topic further than an H2 - I would like to create H3's - but not having luck yet...... How do you do this?