A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Reply To, insert html code



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old April 26th 06, 04:03 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Reply To, insert html code

You can always control the HTML by using the Mailitem.HTMLBody property. Put
your HTML there.

However, with replies and forwards going back and forth the HTML will be
changed by the Outlook and Word editors. It will also be rearranged and some
of your tags will be rewritten. You have no control over that. Even
ContentID GUID's will change.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Joshua" wrote in message
...
I would like to create a method for our Receptionist to reply to a message
via outlook and then insert the following html code which I wrote. When
word
and/or outlook creates the code it's bloated and some users are reporting
problems with the links.

I would also like to attach the word doc below linked in the html.

html xmlns="http://www.w3.org/1999/xhtml"

head
titleThank you for your interest in a position with CSI Leasing,
Inc/title
style
p{ font-size: 10pt; font-family: arial, verdana, sans-serif;}
a:hover{color: #336699;}
a:visited {color: dark blue;}
/style
/head

body lang="en-us"
pThank you for your interest in a position with CSI Leasing, Inc. We
will
review your resume to see if there is a match with our open position./p
pSo that we can fulfill our obligations, we ask that all applicants
click
on the following a
href="http://www.csileasing.com/FillableCSIVoluntaryDisclosure04-05.doc"link/a
or complete the attached form. When you have completed the form, simply
e-mail it to a
"careers@csile asing.com/a.Thank you
again for your interest and we look forward to speaking with you./p
p
Human Resources Departmentbr /
CSI Leasing, Inc.br /
9990 Old Olive St. Rd.br /
St. Louis, MO 63141br /
314.997-7010br /
314.997.7203 faxbr //p

/body

/html

Any help would be greatly appreciated. I am really familiar with VBA in
Excel but after doing a preliminary glance at Outlook VBA and macro's they
seem quite different.

Thanks


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vba code that insert a hyperlink file in the body of message gabriel Outlook and VBA 3 April 24th 06 02:51 PM
Pure HTML Formatting in Mailto code [email protected] Outlook and VBA 1 April 7th 06 10:14 PM
html in reply & forward uncle Outlook - General Queries 2 April 7th 06 05:50 PM
Pure HTML Formatting in Javascript Code [email protected] Outlook - General Queries 1 April 6th 06 03:47 PM
ICS attachments shows as HTML code and can't answer Zanvetto Outlook - Calandaring 0 February 16th 06 09:04 PM


All times are GMT +1. The time now is 09:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.