![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
PR_TRANSPORT_MESSAGE_HEADERS contains mail header. For those mails which
dont have PR_TRANSPORT_MESSAGE_HEADERS property how to get their headers? |
#2
|
|||
|
|||
![]()
They won't have headers if they don't have PR_TRANSPORT_MESSAGE_HEADERS.
Only emails sent over the Internet have that property. If the email was sent internally using Exchange the property and mail headers won't exist on that item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... PR_TRANSPORT_MESSAGE_HEADERS contains mail header. For those mails which dont have PR_TRANSPORT_MESSAGE_HEADERS property how to get their headers? |
#3
|
|||
|
|||
![]()
If i login to any exchange user account, and send a web page to exchange
user ( open internetexplorer for google.com web page and select File-Send-Page By Email...). This mail will not contain PR_TRANSPORT_MESSAGE_HEADERS. Is there any other property for this mail which allow me to read mail contents. "Ken Slovak - [MVP - Outlook]" wrote in message ... They won't have headers if they don't have PR_TRANSPORT_MESSAGE_HEADERS. Only emails sent over the Internet have that property. If the email was sent internally using Exchange the property and mail headers won't exist on that item. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... PR_TRANSPORT_MESSAGE_HEADERS contains mail header. For those mails which dont have PR_TRANSPORT_MESSAGE_HEADERS property how to get their headers? |
#4
|
|||
|
|||
![]()
What do you mean read mail contents?
If you get the item as a MailItem you can read every property it has. What properties do you want to get? If the item was sent by you it should be in Sent Items. You obviously can't read the message that was received by the recipient, it's in his mailbox (unless you have permissions to access his mailbox). It still won't have Internet headers since it never was sent over the Internet if it was strictly an internal email. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... If i login to any exchange user account, and send a web page to exchange user ( open internetexplorer for google.com web page and select File-Send-Page By Email...). This mail will not contain PR_TRANSPORT_MESSAGE_HEADERS. Is there any other property for this mail which allow me to read mail contents. |
#5
|
|||
|
|||
![]()
If i login to exchange user, create a new mail and send to same user then
mail comes in its Inbox and SentItems folder. And both mails have PR_TRANSPORT_MESSAGE_HEADERS property. I need mail header b'se i write my own data in mail header(urn:schemas:mailheader:mytag) In outlook addin i need to get mail header b'se i want to get mytag which i wrote in mail. For below specific case when send a mail using web page, mail dont contain PR_TRANSPORT_MESSAGE_HEADERS. So my question is "Is there any possiblity to get mail header in outlook addin if above property is not present" "Ken Slovak - [MVP - Outlook]" wrote in message ... What do you mean read mail contents? If you get the item as a MailItem you can read every property it has. What properties do you want to get? If the item was sent by you it should be in Sent Items. You obviously can't read the message that was received by the recipient, it's in his mailbox (unless you have permissions to access his mailbox). It still won't have Internet headers since it never was sent over the Internet if it was strictly an internal email. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... If i login to any exchange user account, and send a web page to exchange user ( open internetexplorer for google.com web page and select File-Send-Page By Email...). This mail will not contain PR_TRANSPORT_MESSAGE_HEADERS. Is there any other property for this mail which allow me to read mail contents. |
#6
|
|||
|
|||
![]()
If you send an email entirely within Exchange and it never leaves the server
there will not be any PR_TRANSPORT_MESSAGE_HEADER in the email Exchange does not add those headers for internal emails. If you send an email over the Internet the received email will have the PR_TRANSPORT_MESSAGE_HEADER property. The sent item in the Sent Items folder will never have that property, so I have no idea what you're talking about. Check it yourself with a MAPI viewer such as OutlookSpy. There are no headers in the sent item, period. In a case where there is no property like that obviously there are no headers, so how can you read the headers? It's impossible. If you are adding headers to outgoing items using the special named MAPI property trick then in internal only emails that stay within Exchange there still won't be any PR_TRANSPORT_MESSAGE_HEADER property on the item but the MAPI property you added will be there and can be read as a MAPI property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Ashish" wrote in message ... If i login to exchange user, create a new mail and send to same user then mail comes in its Inbox and SentItems folder. And both mails have PR_TRANSPORT_MESSAGE_HEADERS property. I need mail header b'se i write my own data in mail header(urn:schemas:mailheader:mytag) In outlook addin i need to get mail header b'se i want to get mytag which i wrote in mail. For below specific case when send a mail using web page, mail dont contain PR_TRANSPORT_MESSAGE_HEADERS. So my question is "Is there any possiblity to get mail header in outlook addin if above property is not present" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
printing only header of e-mail | mommyof3 | Outlook Express | 2 | November 28th 11 04:38 PM |
Mail header | filip | Outlook - General Queries | 5 | March 10th 08 07:33 PM |
outlook mail header | tasleem | Outlook - Using Forms | 1 | July 8th 07 07:35 PM |
New mail header question | Richard in AZ | Outlook Express | 3 | September 10th 06 04:16 PM |
mail filter rule based on mail header field | volker.badziong | Outlook - Installation | 4 | June 16th 06 10:45 AM |