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

Performing an html mailshot



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 20th 08, 01:56 AM posted to microsoft.public.outlook.program_vba
John
external usenet poster
 
Posts: 135
Default Performing an html mailshot

Hi

I need to send html newsletter to staff on a regular basis using outlook
automation via vba. I want to know if there are any guidelines to create the
newsletter and the way the code handles the newsletter. In particular I need
to know;

1. How are images handled in newsletter? Are they coded with absolute path
or relative i.e. C:\folder1\folder2\....\myimage.jpg or without the path and
are simply saved in same folder as the html? or is it better to upload
images to web site and give a reference to them in newsletter so no images
accompany the newsletter for maximum compatibility with mail systems?

2. Coding wise, I am thinking to read the html newsletter file into a file
system object and then assign it to the HTMLBody part of the outlook mail
item. Will this work?

Any pointers to accomplish this would be appreciated.

Many Thanks

Regards



Ads
  #2  
Old February 20th 08, 02:54 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Performing an html mailshot

Take a look at the various examples of HTML body coding at
www.outlookcode.com.

How you intend to design the newsletter depends on what versions of Outlook
you intend to support, for example Outlook 2007 has various restrictions on
things like iFrame that aren't in earlier versions of Outlook. There's
information about that at outlookcode.com as well as information on the
Office Web site about HTML restrictions in Outlook 2007.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"John" wrote in message
...
Hi

I need to send html newsletter to staff on a regular basis using outlook
automation via vba. I want to know if there are any guidelines to create
the
newsletter and the way the code handles the newsletter. In particular I
need
to know;

1. How are images handled in newsletter? Are they coded with absolute path
or relative i.e. C:\folder1\folder2\....\myimage.jpg or without the path
and
are simply saved in same folder as the html? or is it better to upload
images to web site and give a reference to them in newsletter so no images
accompany the newsletter for maximum compatibility with mail systems?

2. Coding wise, I am thinking to read the html newsletter file into a file
system object and then assign it to the HTMLBody part of the outlook mail
item. Will this work?

Any pointers to accomplish this would be appreciated.

Many Thanks

Regards




 




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
Performing an html mailshot John Outlook - General Queries 1 February 19th 08 07:59 PM
Include Signature or V Card when performing email merge V Burke Outlook - Using Contacts 1 January 23rd 07 02:29 AM
Include Signature or V Card when performing email merges V Burke Outlook - Using Contacts 1 January 15th 07 04:18 PM
Lost data in user defined fields after performing an import Eddie Outlook - Using Forms 1 November 7th 06 05:13 PM
Eingebundene Bilder in Outlook-HTML-Mail / embedded graphics in HTML Stefan Wirrer Outlook - General Queries 0 August 23rd 06 01:26 PM


All times are GMT +1. The time now is 09:10 PM.


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.