msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Performing an html mailshot

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA
Author Message
John



Joined: 12 Aug 2007
Posts: 8

PostPosted: Wed Feb 20, 2008 6:56 am    Post subject: Performing an html mailshot Reply with quote

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

Archived from group: microsoft>public>outlook>program_vba
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Wed Feb 20, 2008 2:54 pm    Post subject: Re: Performing an html mailshot Reply with quote

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 @TK2MSFTNGP04.phx.gbl...
> 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
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
automating e-mailfrom vb6 KEEP the HTML format hi, it is not difficult to send an email in VB using the outlook model. Especially when you just sent plain text However what I want is the following: I'want to use the VB to add or insert some text in the template default style of the newmailitem. This i

Variables passed into HTML from VBA for a boilerplate templa All, I have a complex HTML e-mail message that I want to be able to customize using variable in VBA. I don't want to have to go through the entire HTML maessage and include in the the .htmlbody when creating a new message. I would perfer to somehow pas

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 image

HTML Printing I my group 30 computer we have. all PC Win XP Pro and Office 2003 with last update. problem we have for all normal user can't take print out of HTML page (Outlook, IE6 and IE7) it's printing only Hader and footer. can some one help me??

HTML Signature Hi, please help!! I have created a template for stationery and signatures. The problem is I want to now implement the signature into outlook which I know how to do fine, the problem lies, I want a certain part of the text Arial size 12 and it is in the c
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group