-> [O2007]: get the message HTML original source code?

Status
Not open for further replies.
S

Steve JORDI

Hi,

I'm programming an AddIn in which I need to work on the orginial HTML

code of a received message.

I can't find a way to get the original html source, not the body as it

appears in Outlook...

Any hint?

Thanks for any help.

Sincerely,

Steve JORDI

(Remove the K_I_L_LSPAM from my email address)

----------------1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com

Switzerland WWW: www.sjordi.com

----------------Volcanoes at www.sjordi.com/volcanoes

MovieDB at www.sjmoviedb.com

------------------------------------------------
 
Take a look at the HTMLBody property.

Sue Mosher

"Steve JORDI" <stevejordiK__I_L_LSP_AM@hotmail.com> wrote in message

news:a609k5950vcs2tn7jqfio73fdp1eii4m4f@4ax.com...
> Hi,
> I'm programming an AddIn in which I need to work on the orginial HTML
> code of a received message.

> I can't find a way to get the original html source, not the body as it
> appears in Outlook...

> Any hint?

> Thanks for any help.

> Sincerely,
> Steve JORDI

> (Remove the K_I_L_LSPAM from my email address)
> ----------------------------------------------> 1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com
> Switzerland WWW: www.sjordi.com
> ----------------------------------------------> Volcanoes at www.sjordi.com/volcanoes
> MovieDB at www.sjmoviedb.com
> ------------------------------------------------
 
On Wed, 6 Jan 2010 09:06:25 -0500, "Sue Mosher [MVP]"

<suemvp@gmail.com> wrote:


> Take a look at the HTMLBody property.


Hi Sue,

thanks, that's what I did and why I asked.

It doesn't give me the full HTML body.

On my desktop I get only the text and on my laptop HTML code but it

looks like it's not the actual real HTML. Elements are missing from

the source code sent from another email.

Strange.

I wonder whether the fact that Word is used as the under-layer and

changes the real HTML into a MS Word kind of HTML flavor instead.

Sincerely,

Steve JORDI

(Remove the K_I_L_LSPAM from my email address)

----------------1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com

Switzerland WWW: www.sjordi.com

----------------Volcanoes at www.sjordi.com/volcanoes

MovieDB at www.sjmoviedb.com

------------------------------------------------
 
Without knowing what you mean by "the actual real HTML" or missing elements,

I can only guess that your issue might be related to the HTML-rendering

changes made in Outlook 2007 and documented at

http://msdn2.microsoft.com/en-us/aa....microsoft.com/en-us/aa338201(office.12).aspx.

Sue Mosher

"Steve JORDI" <stevejordiK__I_L_LSP_AM@hotmail.com> wrote in message

news:07abk5lkcba10gkekm8qpvnlqrq964kk0r@4ax.com...
> On Wed, 6 Jan 2010 09:06:25 -0500, "Sue Mosher [MVP]"
>
> >Take a look at the HTMLBody property.


> Hi Sue,
> thanks, that's what I did and why I asked.
> It doesn't give me the full HTML body.
> On my desktop I get only the text and on my laptop HTML code but it
> looks like it's not the actual real HTML. Elements are missing from
> the source code sent from another email.

> Strange.
> I wonder whether the fact that Word is used as the under-layer and
> changes the real HTML into a MS Word kind of HTML flavor instead.


------------------------------------------------
 
On Thu, 7 Jan 2010 10:00:27 -0500, "Sue Mosher [MVP]"

<suemvp@gmail.com> wrote:


> Without knowing what you mean by "the actual real HTML" or missing elements,
> I can only guess that your issue might be related to the HTML-rendering
> changes made in Outlook 2007 and documented at
> http://msdn2.microsoft.com/en-us/aa....microsoft.com/en-us/aa338201(office.12).aspx.


Yes I think it's this.

But some message, I lose full formatting, even basic one like font

color or bold and get only plain text when the message is in HTML.

I'll investigate this further.

Sincerely,

Steve JORDI

(Remove the K_I_L_LSPAM from my email address)

----------------1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com

Switzerland WWW: www.sjordi.com

----------------Volcanoes at www.sjordi.com/volcanoes

MovieDB at www.sjmoviedb.com

------------------------------------------------
 
Messages in the Junk Email folder will display only plain text.

Sue Mosher

"Steve JORDI" <stevejordiK__I_L_LSP_AM@hotmail.com> wrote in message

news:p38ck5113lc28v079nfbovi9kld8t3k61a@4ax.com...
> On Thu, 7 Jan 2010 10:00:27 -0500, "Sue Mosher [MVP]"
> <suemvp@gmail.com> wrote:
>
> >Without knowing what you mean by "the actual real HTML" or missing
> >elements,
> >I can only guess that your issue might be related to the HTML-rendering
> >changes made in Outlook 2007 and documented at
> >http://msdn2.microsoft.com/en-us/aa....microsoft.com/en-us/aa338201(office.12).aspx.


> Yes I think it's this.
> But some message, I lose full formatting, even basic one like font
> color or bold and get only plain text when the message is in HTML.
>
 
On Thu, 7 Jan 2010 13:18:56 -0500, "Sue Mosher [MVP]"

<suemvp@gmail.com> wrote:


> Messages in the Junk Email folder will display only plain text.


That's good to know. But it's messages in the Inbox.

I think I will reinstall Outlook 2007 because they seem ok on my

laptop but definitely not on my desktop!

Sincerely,

Steve JORDI

(Remove the K_I_L_LSPAM from my email address)

----------------1197 Prangins Email: stevejordiK_I_L_LSPAM@hotmail.com

Switzerland WWW: www.sjordi.com

----------------Volcanoes at www.sjordi.com/volcanoes

MovieDB at www.sjmoviedb.com

------------------------------------------------
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S [O2007] -> How to search for a string in the body and get the line number? Outlook VBA and Custom Forms 1
S ->[O2007] Any way to know the Plain Text Wrap limit? Outlook VBA and Custom Forms 2
S ->[O2007] Parsing each line of a MailItem HTMLBody? Outlook VBA and Custom Forms 2
D Outlook 365 Outlook Message "Cannot be sent because the message has changed" Using Outlook 0
B Please remind me how I added this message button Outlook VBA and Custom Forms 0
E PgUp and PgDn don't work for displayed message content (but do for web pages) Using Outlook 4
M A plug in (or method) to keep email message formatting after it expires Using Outlook 1
Rob Can't save MailItem because the message changed in .pst file Outlook VBA and Custom Forms 0
M Search message, then (1) Jump to folder & (2) Select message that you searched for Outlook VBA and Custom Forms 6
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
G Get current open draft message body from VBA Outlook VBA and Custom Forms 1
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
HarvMan Outlook 365 - Rule to Move an Incoming Message to Another Folder Using Outlook 4
F Outlook 2019 Forwarding Message and Keeping Unread Status Outlook VBA and Custom Forms 0
E Save Selected Email Message as .msg File - digitally sign email doesn't works Outlook VBA and Custom Forms 1
C Populate form data into message body Outlook VBA and Custom Forms 1
J Outlook 365 Add keywords from Listbox to the message body where cursor is placed Outlook VBA and Custom Forms 0
B How to create a button that sorts and selects the most recent message with ONE click Using Outlook 2
P "Item could not be moved" message occurs frequently for IMAP inbox, Office 365 Using Outlook 0
A rule name into message - how? Outlook VBA and Custom Forms 5
A Links in email getting error message about group policy Using Outlook 4
O How to find and replace a word in Outlook-Agenda-Subject and Message? Using Outlook 0
X Open Hyperlinks in an Outlook Email Message (Help with Diane's solution) Outlook VBA and Custom Forms 3
Commodore Unable to move message Using Outlook 3
Y Disable Microsoft Outlook Test Message Using Outlook 4
S Unable to change Message Class Outlook VBA and Custom Forms 0
S Changing Message Class Outlook VBA and Custom Forms 4
Cathy Rhone Mail merge error message Using Outlook 1
C Can't Locate an Unread Message in my Outlook view pane Using Outlook 0
G Send a greeting message to a contact on birthday Outlook VBA and Custom Forms 5
B Inconsistent handling of message read/unread status by Outlook Using Outlook 3
N Save Selected Email Message as .msg File Outlook VBA and Custom Forms 12
T Macro to move reply and original message to folder Outlook VBA and Custom Forms 6
O Outlook 2010 Add delete button to the side of the message list Using Outlook 1
Cathy Rhone The properties of the message have been changed Using Outlook 1
S Outlook 2016 A Shortcut to recall and delete and sent message. Using Outlook 1
T vba extract data from msg file as attachment file of mail message Outlook VBA and Custom Forms 1
S Unable to extract text from an Outlook email message Using Outlook 2
R Outlook 2016 Message-ID oddity/inconsistency? Using Outlook 7
J Implement Keywords based on body message Outlook VBA and Custom Forms 0
C must select message to trigger safe list Using Outlook 3
Witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
D.Moore VB script to Digitaly Sign newly created outlook message Outlook VBA and Custom Forms 2
O VBA Outlook Message Attachment - Array Index Out of Bounds Outlook VBA and Custom Forms 0
W September 2020 - No Default Email Client message after Office Update Using Outlook 1
A Flag Message for Follow Up after sending Outlook VBA and Custom Forms 1
S Outlook (2016 32bit; Gmail IMAP) - Save sent message to Outllook Folder Outlook VBA and Custom Forms 0
C Why won't Title display in message list? Using Outlook 1
icacream content in this message could not be downloaded.... Using Outlook 2

Similar threads

Back
Top