![]() |
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
|
|||
|
|||
![]()
Hi,
MS Outlook is automated to send out an email in HTML but when the email is received from MS Outlook it is in plain text. The email in Sent items is in HTML format. If an email is created from MS Outlook itself(not programmetically) in HTML and sent, when received it is in HTML format. Following is the configuration of this computer - Windows 2003 enterprise edition x64 - MS Outlook 2007 with excahnge server - Logged on to the server using a Cirtix session - Default email application of Windows is set to MS Outlook In a Windows 2003 standard edition x64, with MS Outlook 2007 the mail is sent and received in HTML without a problem.(without MS Excahnge Server and Citrix) Following is the code we use to generate and send the mail. loOutLookSession = CREATEOBJECT('OutLook.Application') loOutBox = loOutLookSession.GetNameSpace("MAPI").GetDefaultFo lder(4) loMailItem = loOutBox.Items.Add(0) loMailItem.Subject = "Subject" loMailItem.BodyFormat = 2 loMailItem.Body = HTML text loMailItem.HTMLBody = HTML text loMailItem.To = loMailItem.Send() Please could someone advice, what could be the cause? |
Ads |
#2
|
|||
|
|||
![]() What happens if you don't write into Body but into HTMLBody only? -- Best regards Michael Bauer - MVP Outlook Category Manager - Manage and share your categories: SAM - The Sending Account Manager: http://www.vboffice.net/product.html?lang=en Am Fri, 21 May 2010 10:32:59 +0530 schrieb DPM: Hi, MS Outlook is automated to send out an email in HTML but when the email is received from MS Outlook it is in plain text. The email in Sent items is in HTML format. If an email is created from MS Outlook itself(not programmetically) in HTML and sent, when received it is in HTML format. Following is the configuration of this computer - Windows 2003 enterprise edition x64 - MS Outlook 2007 with excahnge server - Logged on to the server using a Cirtix session - Default email application of Windows is set to MS Outlook In a Windows 2003 standard edition x64, with MS Outlook 2007 the mail is sent and received in HTML without a problem.(without MS Excahnge Server and Citrix) Following is the code we use to generate and send the mail. loOutLookSession = CREATEOBJECT('OutLook.Application') loOutBox = loOutLookSession.GetNameSpace("MAPI").GetDefaultFo lder(4) loMailItem = loOutBox.Items.Add(0) loMailItem.Subject = "Subject" loMailItem.BodyFormat = 2 loMailItem.Body = HTML text loMailItem.HTMLBody = HTML text loMailItem.To = loMailItem.Send() Please could someone advice, what could be the cause? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 displaying all received html messages in plain text | Eliseo Negrin | Outlook - General Queries | 6 | August 7th 08 08:34 PM |
Mail Merge Programs - HTML and Plain Text | srm | Outlook - General Queries | 0 | June 6th 08 05:03 PM |
HTML mail became Plain Text | saigontuna | Outlook - General Queries | 0 | January 15th 08 05:58 AM |
Some HTML messages are received as plain text in Outlook 2003 | Bill J | Outlook - Installation | 5 | October 13th 06 02:54 AM |
mail format to plain text autom., when replying to rtf or html mai | Martinez | Outlook - Installation | 2 | April 13th 06 09:01 PM |