Sending HTML format report is not working #2

I have been sending RTF report from Ms Access on the body of the email.
I need to send it in HTML format instead, but it is not working. The
body of the email displays the whole source instead of the HTML
formatted body. I have realized that the email format shows "Plain
Text" and "Rich Text" format only. If you have further questions,
please do not hesitate to contact me.
Below there is an example of what I am getting, please check:

><FONT SIZE=5 FACE="Book Antiqua" COLOR=#000000>Order Confirmation</FONT></TD><TD WIDTH=108 ><FONT SIZE=1 FACE="Arial" COLOR=#000000>            </FONT></TD><TD WIDTH=348 ><FONT SIZE=5 FACE="Book Antiqua" COLOR=#000000>EZ Wireless Communications</FONT></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 ><TR HEIGHT=21 ><TD WIDTH=4 > <BR></TD><TD WIDTH=92 ><FONT SIZE=3 FACE="Book Antiqua" COLOR=#000000>Order No.:</FONT></TD><TD WIDTH=576 ><FONT SIZE=3 FACE="Book Antiqua" COLOR=#000000>7251</FONT></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 ><TR HEIGHT=15 ><TD WIDTH=4 > <BR></TD><TD WIDTH=668 ><FONT SIZE=1 FACE="Book Antiqua" COLOR=#000000>Your cellular phone rental order has been received and processed. Please confirm the following rental information:</FONT></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 ><TR HEIGHT=21 ><TD WIDTH=8 > <BR></TD><TD WIDTH=372 ><B><U><FONT SIZE=3 FACE="Book Antiqua" COLOR=#0000ff>Customer Information:</FONT></B></U></TD><TD WIDTH=292 ><B><U><FONT SIZE=3 FACE="Book Antiqua" COLOR=#0000ff>Delivery Information:</FONT></B></U></TD></TR></TABLE><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 ><TR HEIGHT=15 ><TD WIDTH=8 > <BR></TD><TD WIDTH=372 ><FONT SIZE= .......Etc......

If you copy the whole source in a HTML editor like dreamweaver, it
gives you the exact format.
I do not know if I have to change a setting in ms outlook or change the
code I have which is:

Dim strline, strHTML
Dim OL As Outlook.Application
Dim MyItem As Outlook.MailItem
Set OL = New Outlook.Application
Set MyItem = Outlook.Application.CreateItem(olMailItem)

If Me.Status Like "*Reserved*" Or Me.Status Like "*rent*" Then
DoCmd.OutputTo acOutputReport, "Rental Confirmation", acFormatHTML,
MyItem.Subject = "ORDER CONFIRMATION - Cellular phone rental Order" & "
" & Me.Invoice_No
End If

Open "C:\Order.html" For Input As 1
Do While Not EOF(1)
Input #1, strline
strHTML = strHTML & strline
Close 1
MyItem.Body = strHTML
MyItem.To =
If Left(OL.Version, 2) = "10" Then
MyItem.bodyformat = olFormatHTML
End If

Thank you in advance for your help.

danny3924 (9)
3/16/2006 4:47:35 PM
outlook 87535 articles. 11 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 26


Similar Artilces:

Reporting from Project Server
I dont know if i need to ask this question here or in the Access section. I have an ODBC connection to the Project Server database so I can make reports through Access. Access' limit of 255 fields per table is causing me some trouble. for example, the MSP_VIEW_PROJ_PROJECTS_ENT table has well over 255 fields. Access only shows me the first 255 fields. how can I change that so I can see all the fields in that table? thanks, Hadi Hadi, I have not tried this yet it may be a viable option. Have your DBA create a view that pulls the key fields to this table and the specifi...

conditional formatting sort
Is there a way to sort after conditional formatting. So, if I've set up a conditional format to color my text red if the number is between 0 and 95, then I want to sort so all red numbers are at the top of the spreadsheet? Any ideas? Thanks for your time and assistance. Roberta On Thu, 25 Oct 2007 05:08:00 -0700, rrupp <> wrote: You can't sort by color, but you can add a column to your query like this: SortColumn: Iif(SomeValue >= 0 and SomeValue <= 95, 1, 2) Then sort by this column. -Tom. >Is there a way to sort after condition...

More Columns #2
I am using all columns through IV on one of my worksheets. Does anyone know how to get more columns? Hi stacy know way using Excel. this is the maximum! -- Regards Frank Kabel Frankfurt, Germany Stacy Haskins wrote: > I am using all columns through IV on one of my > worksheets. Does anyone know how to get more columns? As Frank said, that's the maximum cols But maybe you could try transposing your table / data ? (Excel has a lot more rows than columns) If so, try: for an example on using TRANSPOSE() For a one-time Tranpose: Copy > Paste Specia...

Linking files 2 ways
I have a work book that is linked to another and vise versa. As thus: Workbook A is where the input of data is made; Workbook B has a link to the input from workbook A; Workbook A retrieves the altered data back as a link. Although this all works fine with both books open, I note that if I open workbook A by itself, that the data it retrieves from Workbook B is not updated . If However, both books are open, there's no problem. I thought linked books were updated automatically if the Update remote references has been selected?? But it appears that the second book is not updated until it ...

Goal Seek #2
Can anyone tell me a little about goal seek? Hi basically it's used to change an input variable so that the result of the formula equals what you want it to ... say i have the following A B C 1 10 20 =A1+B1 now C1 will give me 30, but if i want to know what B1 will need to be if i want C1 to show 50, i can use goal seek Set C1 to value of 50 by changing B1 Hope this helps Cheers JulieD "Jamie Hart" <> wrote in message news:u3OscELdEHA.244@TK2MSFTNGP12.phx.gbl... > Can a...

How do I Remove a Split from my Comments in Excel 2003? #2
I have set my current workbook to split/freeze the first column and first 2 rows. Now, when I add a comment to the second row (in any column) my comments are cut off if I should scroll down. I don't ever remember the behavior before. And I don't know what I've done to enable it but it's really annoying. How do turn this off ? ...

Offline Synchronization Problem #2
I get the following error when I try going offline. The excelption is taken from Event Viewer of the Client Machine. Event Type: Error Event Source: MSCRMOfflineSync Event Category: None Event ID: 6000 Date: 3/25/2008 Time: 5:03:33 PM User: N/A Computer: WINXP Description: An error occurred during Offline Synchronization. Try going offline again, or restart Microsoft Outlook. saInsert failed for entity 'ActivityMimeAttachment', batchRows=0 with exception System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument li...

Contacts in Exchange #2
We are running Exchange 2003 and Outlook 2003. I have tried to give a user rights to her boss's contacts through delegation and setting the rights on the contacts folder, however, while she has the rights she is unable to add or see her boss's contact folder in her Outlook. She can see it if she runs a search, but can not permanently put it in her list of contact folders. IS there a way that I can accomplish this through the back-end? Thanks, Joseph rapoport ...

Filters not working in Exchange 2003
I have been trying to turn on the Recipient, Connection, and Sender filters. I have gone to the Default SMTP Virtual Server and turned it on there without getting an error but when I go to the Properties and add senders to block and the hit Apply, it tells me that I must manually turn the filtering on in the SMTP VS. I have stopped and started the Default SMTP VS but still no luck. Any ideas? Hi Wayne That is a standard dialog box, it does not check to see if it is already enabled, have you tested the sender filtering? -- Mark Fugatt Microsoft Limited This posting is provided &quo...

Cannot open Outlook, keep getting Send error report of Microsoft.
We are having problems with Outlook 2003. Everytime we try to open, we get this: Send error report to Microsoft. Any ideas why? All windows and office update have been completed. ...

Fixing a formula to read a general format?
A few months ago I had asked a question and got this answer: Question: I have a a set of values in A1 through A100. I need to look up each value and find a match in another set of values located in C1 through C200. If a match is found then I need the formula located in column B to return the value in the same row but the next column over (D). Answer: =IF(ISNUMBER(VLOOKUP(A1,$C$1:$D$200,2,0)), VLOOKUP(A1,$C$1:$D$200,2,0), "") Copy down through A100. The formula worked fine, however the reference value and the look up value are not any more numbers but a combinatio...

Rule won't work
Outlook 2007 I have set up a rule to do the following; When I send or receive a message from a specific contact, play a sound, display in new item alert window, flag for follow up and move to a specific folder. But it is not doing anything. Do I need to change something else? What type of email account? Do other rules work? Does it work if you use any one action? -- Diane Poremsky [MVP - Outlook] Outlook Tips: Outlook & Exchange Solutions Center: Outlook Tips by email: mailto:dailytips-subscribe-request@lists.out...

ERROR: 5.1.2 or other punctuation after the recipient's email address.
I am trying to send a email to a group address I created with 58 addresses in it. When I try to send the email to this group I get the following Error: "5.1.2 or other punctuation after the recipient's email address. " I have gone back to the original contact cards and made sure the addresses were all legal. I have re-created the list, same problem I have re-booted, same thing. Any thoughts out there? Thanks Dunc My wife and I have MBP's and are both running MS Office for Mac's, Entourage 12.2.3. Both of us have messages cued up in the out boxes th...

I cannot get Outlook to send/receive. Error says object not found
I just installed Outlook2007. I cannot get the send/receive to work. That is when the error says Object not found. If I go to accounts and properties, I run the two tests and they complete fine. What should I try next? Outlook 2007 is the only new program, all the rest are from Office 2003 IMK <> wrote: > I just installed Outlook2007. I cannot get the send/receive to work. > That is when the error says Object not found. If I go to accounts and > properties, I run the two tests and they complete fine. What should I > try next? Outlook 2007 is ...

number format with leading 0
Dose anyone know how to create a number format that would show a leading zero for the numbers 0-9. That is, so that 1 would show as 01. I can do with a text format but would like to retain the integrity of the number. Thanks Try this: Format>Cells>Number Category: Custom Type: 00 Click [OK] Does that help? *********** Regards, Ron "Darby" wrote: > Dose anyone know how to create a number format that would show a leading zero > for the numbers 0-9. That is, so that 1 would show as 01. I can do with a > text format but would like to retain the integrity...

Increment A2 from A1 and A2 Sum #2
I have two cells: A1 - manual value B1 - automatic increment = B1 + A1 How can i make it? (=error: circular reference) Note: I have this formula repeated in some lines: = B2 + A2 = B3 + A3 .. -- Message posted from ...

Problem sending encrypted email in OLXP
Hello All, I am having a problem sending encrypted email messages using OLXP if they are NOT in HTML format. Everything seems to work fine with OL2000 and OL2003. Any ideas about what may be going on? GW Gee Weez <> wrote: > I am having a problem sending encrypted email messages using OLXP if > they are NOT in HTML format. Everything seems to work fine with OL2000 > and OL2003. Any ideas about what may be going on? Do you tell your doctor you're "having problems" or do you describe your symptoms with as much precision as you can manage? -- ...

inbox problems #2
My inbox says I have 3 new messages. I don't.. Its lying. So how do I correct this.. Its not a major problem but distracting. Computers are supposed to be always right.... As a sidelight to this. I deleted the Unread messages, thingy in the favorite folder place. I thought I would bring that back and see if there were some messages that were bad. I read the help file and it says to just click on any file you want to add to the favorite folder. But its gone.. totally and completely there is no Unread Message line to click on.. What's a person to do? See my reply to your late...

anyone else having problems with the 12.1.9 "autoupdate"? #2
Hi all... The 11.5.5 autoupdate worked fine. The 12.1.9 autoupdate downloads (apparently), but then it goes right back to showing that the 12.1.9 update is available -- the updater itself never actually launches. Busy servers, maybe -- and the download isn't ever actually completing? Or bad updater on the update server for 12.1.9? The manual download from Mactopia of 12.1.9 installed properly -- this is just the auto-update that's not working now. - Steve You're right, the auto-update fail. It should be pulled or a message sent instructing to update by downloading directly...

Contact oddity and why are there 2 Contact Lists?
Running Win 7, and was receiving emails in WLM with my maiden name listed in the TO:. I found out that I had my maiden name listed in Contacts (I run a high school mailing list here) so I decided to check it out and changed the last name to all caps. Sure enuf the next email I rec'd showed that name. I then deleted the email address connected to my name in the contact list and everything is back to "normal" (whatever that is <G>) Why in the world are there 2 contact lists on my thru WLM and one thru Windows Contacts? I'm confused. ...

GPS 8 service pack 2 and add new company
After installing service pack 2 for GP 8, I am not able to add or log on to the new company. Error during upgrade is “Entries haven't made to all required fields. Would you like to show the required fields on all windows in greatplains” When I try to log on to GP getting another error “file for this company have not been updated” Please help Rajesh ...

Adding PST Tax onto Invoice Report
Hi there, Can anyone show me or help me start off in modifying the sales invoice report to display both GST and PST taxes for Canadian companies. I know that the report is within report writer but am clueless on how to start this off, but more on where I need to pull the data. Thanks. Hi Ian, This is fairly easy... you'll have to work with calculated fields and use the schdeduled tax table (TX_Detail_MSTR = TX00201). Normaly, those taxes are already taken care within the default SOP Blank Form, but I suspect that you want to show the various tax labels and their respec...

Formating text in cells
Hello, does anyone know how to force Excel to keep the hyphen or dash character (-) with the associated numbers when putting multiple dash-#s in a cell and turning "wrap" formating on? This is the same problem I have in Word; when I add dash-#s (ie; -xxx, -yyy, -zzz) Office apps interpret dashes ( - ) as a hypehen to a word and will keep the dash/hyphen on the line above until there are enough characters to force the dash/hyphen to the next line. In my work we use the format; -xxx, -yyy, -zzz to denote multiple versions of the same base part. Work instructions to operators...

form base authentication #2
This is killing me. I'm implementing form base authentication. I have SSL and everything working but for one problem when use won't to get to owa they type which then defaults to the problem I'm having is that FBA need it to default to https not http. How can I get it to default to HTTPS with out telling the uses to type https? I am implementing this on a FE/BE environment wayne .. What I do is change the http port on the main site to something like 8080, and then create a new site that listens on 80. For that site, instead of...

How do I send a photo from Publisher 2003 to Adobe Photoshop Eleme
-- Pepperanne from Cape Cod If copy/paste doesn't work, select the picture, right-click, save as picture. Where are you getting the photo? If you are copying from the Office clipart site, you should be able to paste into Photoshop directly. -- Mary Sauer MSFT MVP news:// "Pepperanne" <> wrote in message > > -- > Pepperanne fro...