
Why am I losing html formatting?
Peter,
So:
= Manual clicks of SEND arrive at Hotmail with good HTML
= Manual clicks of SEND to yourself arrive with good HTML
= VBA Sends to yourself arrive with good HTML
= VBA Sends to Hotmail arrive bollixed
Is that correct?
The only thing I can think of is that it is not the manual click that makes
things right, it is viewing the message in Outlook, like maybe the message
isn't in HTML format until you view it, presumably with HTML set as your
default message type.
I am grasping at straws.
One thing you could try, if this is Outlook 2002, objItem will have a
BodyFormat property that you can set to 2 ( HTML ). You could try setting
that prior to .Send.
Outlook may give you Security dialogs if you try this, though.
What is Massmail? Can't they help you?
John
Quote:
> Hi John:
> Thanks for your message. How does Exchange distinguish between a
> message sent by just clicking SEND versus sent by the VBA code?
> Because the message sent by clicking SEND arrives at hotmail with html
> intact, which would imply that Exchange is NOT set to convert HTML
> mail to plain text. Plus the message I loop back to myself (Outlook
> Corporate Client) survives with html intact.
> Peter
Quote:
> > Peter:
> > Are you using Exchange? I believe there is a setting in Exchange that
will
> > convert HTML email to plain text if it is set up that way.
> > John