473,748 Members | 7,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML Page into Email

I have an HTML page which is a newsletter. I want to be able to add it to an
email message so I can email it to people. I want it to be in the body of
the email, not sent as an attachment.

There is a .htm page, several images, and a .css page. I need all of these
to be embedded for the page to work correctly. I can put the styles from the
..css file into the html page, but I still need to know how to embed the
images.

I tried creating stationary, but it didn't put the images in the email.

I know it is possible to do this. Can someone give me some pointers as to
how to get an HTML page along with several images into an email message.

I am currently using Outlook 2003.

Thanks!
Jul 20 '05 #1
7 7126
TLMM tl*@www.com wrote:

I have an HTML page which is a newsletter. I want to be able to add it to an
email message so I can email it to people. I want it to be in the body of
the email, not sent as an attachment.


I have an email client that very helpfully strips out the html and shows
me just the text but lets me know that the email was html so that in
future I can block the sender and not have to even bother to download the
rubbish

send the newsletter as plain text...put a link at the top of the
newsletter to a web page displaying the html version

--
eric
www.ericjarvis.co.uk
"live fast, die only if strictly necessary"
Jul 20 '05 #2
On Tue, 20 Apr 2004 23:35:48 +0100, Eric Jarvis <we*@ericjarvis .co.uk>
wrote:
I have an email client that very helpfully strips out the html and shows
me just the text but lets me know that the email was html so that in
future I can block the sender and not have to even bother to download the
rubbish


Indeed.

So let's encourage this guy. We want to keep this crud easily
recognisable.

Jul 20 '05 #3
"TLMM" <tl*@www.com> wrote in message news:<2M******* *************@u rsa-nb00s0.nbnet.nb .ca>...
I have an HTML page which is a newsletter. I want to be able to add it to an
email message so I can email it to people. I want it to be in the body of
the email, not sent as an attachment.
Some discussion of HTML e-mail:
http://mailformat.dan.info/body/html.html
There is a .htm page,
The bogus dumbed-down extension for people and programs that can't
handle the correct .html extension...
several images, and a .css page. I need all of these
to be embedded for the page to work correctly. I can put the styles from the
.css file into the html page, but I still need to know how to embed the
images.
It's done by multipart MIME messages, where attached parts can be
referenced from HTML documents via "cid:" URIs referring to content
IDs. More info:

http://mailformat.dan.info/headers/mime.html
I tried creating stationary, but it didn't put the images in the email.
If something is "stationary ", that means that it's motionless; it's
not very surprising then that it doesn't do anything. Perhaps you
mean to use "stationery "?
I am currently using Outlook 2003.


Big mistake. Outhouse sucks.

Just read all the relevant RFCs describing MIME attachment format and
the "cid:" URI scheme, then whip up a custom Perl script to generate
the message of the format you want untouched by Microshaft products
(running on a Linux server, of course). Piece of cake.

--
Dan
Jul 20 '05 #4
On Wed, 21 Apr 2004, Daniel R. Tobias wrote:
There is a .htm page,


The bogus dumbed-down extension for people and programs that can't
handle the correct .html extension...


It's the *people* that are the problem; the software can cope. But on
one point I would have to quibble with you: there is no "correct
extension" in URLs. The content-type of a WWW resource is determined
- according to HTTP specifications - by the HTTP Content-type header:
and that's official. And pffffft to anyone who behaves otherwise
(Opera, that means you, too...).

The apparent filename extension in a URL has nothing, directly, to do
with it (although it might have internal significance to the web
server - but it could equally be .shtm or .php or whatever and still
produce a text/html content-type). There doesn't even have to be a
filename extension (in fact, if you use Apache MultiViews, it's better
*not* to have one).

Sure, the .html extension is certainly *conventional*, and - like all
such matters - there are advantages in going along with what's
expected, unless you find some major net benefit to be achieved by
doing things differently. And the .htm extension seems to be a "dead
giveaway" that the information provider is a serf to the Empire...

I was using ".html" URLs when my HTTPD was running on Windows/3.1 in
1994. Many times I've seen folks claiming, completely incorrectly,
that URLs hosted on "DOS" filesystems *have* to be like ".HTM", but
this only proves that they are (a) misinformed and (b) don't
understand the distinction between a URL and a filename.

(And, by the way, today's equivalent misunderstandin g is the incorrect
belief that URLs on Windows-based servers are case-insensitive.)

best
Jul 20 '05 #5
On 21 Apr 2004 07:53:16 -0700, da*@tobias.name (Daniel R. Tobias)
wrote:
There is a .htm page,


The bogus dumbed-down extension for people and programs that can't
handle the correct .html extension...


..htm is not "bogus", nor is .html "correct".

If they were, there wouldn't be any argument over which to use. As it
is though, there just isn't any reason at all to favour one other the
other.

The only thing that's bogus is to forget that whilst HTML files have
file extensions, HTML documents and web pages do not - they have a
HTTP content-type header.
--
Smert' spamionam
Jul 20 '05 #6

"Andy Dingley" <di*****@codesm iths.com> wrote in message
news:v7******** *************** *********@4ax.c om...
On 21 Apr 2004 07:53:16 -0700, da*@tobias.name (Daniel R. Tobias)
wrote:
There is a .htm page,


The bogus dumbed-down extension for people and programs that can't
handle the correct .html extension...


.htm is not "bogus", nor is .html "correct".


Put it this way: how many images on the Internet have extension "jpg" and
how many have "jpeg"? Which is the more common, by far? Which, if either, is
correct and which, if either, is bogus, and why?

Jul 20 '05 #7
TLMM wrote:
I have an HTML page which is a newsletter. I want to be able to add it to
an email message so I can email it to people. I want it to be in the body
of the email, not sent as an attachment.
I have a filter here that drops HTML e-mail directly into "trash" and I
periodically randomly empty "trash". So, the chances are if I get HTML
e-mail I will never see it, as virtually no legitimate e-mail to my
addresses should contain HTML (and the few legitimate HTML e-mails I catch
usually get a reply saying "please don't send HTML garbage here").
I know it is possible to do this.


It's possible to do 50 mph over the speed limit on certain freeways around
here, too. Just because it's possible doesn't mean it's a good idea.
Consider converting the newsletter to plain text for e-mailing.

--
Shawn K. Quinn
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
9873
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ********************************** package Celcom.Client;
4
1822
by: Richard Pain | last post by:
OK - I have a shopping basket with data in a database. Once the person has successfully completed their order I want to be able to send them an email with the products ordered roughly in the following format: Product Price Quantity prod1 £6.99 1 prod2 £5.99 2 Postage ...
13
1895
by: nobody | last post by:
Hello all, I've searched just about everything and although I can see that other people are having problems, but theirs don't seem to relate, so in a last ditch attempt, my posting! Script tags are hanging in ie when generating a html page in a new window. Works fine in netscape/moz. I know ie does some weird things with scripts but...
5
3093
by: Das | last post by:
Hi, I'm trying to email html page & that page also contains the images. I can do that when we send html page from ms outlook. But I want to attach page c# code & send the mail through smtp mail. Thanx in advance.. Regards,
7
2451
by: SteveM | last post by:
I am sure this is an easy question, but being relatively new to ASP.NET programming, I can not quite grasp what I need to accomplish what I need to do. What I have is a word document that is rendered as a page (or actualy a part of a page) that is editiable. To do this I let the user download the document, edit it and then upload it back to the site. Then at Page_Open, I convert the .doc file to an html and render it back to the page......
8
3353
by: rn5a | last post by:
I have a HTML page named Index.html which is divided into 3 frames. The URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP page. Now when I go to Windows Explorer, navigate to the folder in which the all the 4 files (3 HTML + 1 ASP) reside & select Index.html (by clicking with the mouse or by using the arrow keys on the keyboard), strangely the Windows "File Download" dialog box (with 'Open', 'Save', 'Cancel', 'More...
33
2392
by: STILL LEARNING | last post by:
I'm not sure if this can even be done, but what prompts the question is my desire to be able to create an "Uber Link" script/code of some sort, such that even if the html page contains nothing but a background image -or- a background color -- in other words, the page has neither content nor placed images -- any click, ANYWHERE, will launch the URL in your browser. I realize I can make traditional text links and graphics links; what I'm...
3
3936
by: PhilTheGap | last post by:
Hello, I woulf like to hide an activeX object in a aspx page. The ActiveX is decalred statically in the HTML code, and I'e tried to set the html visible "property" to "false" in the javascript page_load function (in the aspx page). It didn't do anything although the code is executed correctly (I check with an alert...). Do you see why ?
5
2144
by: rotaryfreak | last post by:
hello, im trying to build an application that will incorporate a "forgot password" feature. in order for my feature to work correctly, i am asking the user to type in his/her email address and he/she will have to answer a security question. <form id="form1" name="form1" method="get" action="emailRetrieve.php" > <label>Please enter your email address:</label><br/> <label> Email address: <input type="text" name="emailText"...
0
8826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9534
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9241
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8239
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2211
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.