Forums

This topic is locked

How do you get a web-page inside an email?

Posted 30 Oct 2003 12:23:57
1
has voted
30 Oct 2003 12:23:57 James Lee posted:
Hello everyone!

I am just wondering how do you get a html file inside an email? Most probably you might have seen web-pages inside an email. how do they do that?

Thanks for reading!

Replies

Replied 31 Oct 2003 21:44:21
31 Oct 2003 21:44:21 Scott Fegette replied:
To really simplify, just include HTML text in the body of your message, and clients that read it should show it correctly (I do recommend 'proofing' in various email clients, tho- very similar to doing the same in browsers for web sites themselves).

However, I don't do much of this myself (do have a few 'auto reports' generated from my various servers that email me just html-formatted text as above, which works great in my email client), so if anyone here has more specific experience I'd be interested as well...


- Scott

scott fegette
macromedia, inc.
Replied 01 Nov 2003 04:48:21
01 Nov 2003 04:48:21 James Lee replied:
Thanks for replying.

Won't I be seeing just HTML codes inside the body tags? I mean the tags of the HTML will be visible right?

I have not done it yet but are you saying I go to Dreamweaver copy and the html codes and paste it into the contents of the email? What about the images? where are they linked since it is not longer relative to the local folder in the computer?
Replied 01 Nov 2003 23:46:02
01 Nov 2003 23:46:02 Janusz Jasinski replied:
Depends, I have HTML turned off so I'll just see the code... with images, add to server and use:

server.com/image.gif as the SRC of the IMG tag

Janusz

======================
janusz.monkey-it.co.uk

ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe
Replied 05 Nov 2003 18:47:07
05 Nov 2003 18:47:07 Scott Fegette replied:
Hey, Peggy-
If the email client reading the mail is capable of viewing HTML-formatted email, then yes- they'll get your formatted page, just as if it were in a browser. However, if the user has specified plain text-only in their client, yes- they'll see the HTML code. Many emailers who send this way have a link/URL to use at the top of the <body> section so that text-only people can still access the content of the email (in that case you'd simply post the HTML on a web server somewhere for them to access).

For images/etc- just use absolute URLs to the image as janusz_monkey suggested:

www.yoursite.com/images/email.gif
instead of..
images/email.gif

HTH!


- Scott

scott fegette
macromedia, inc.
Replied 05 Nov 2003 19:41:16
05 Nov 2003 19:41:16 James Lee replied:
Thanks everyone for reading this!

I appreciate it!

Reply to this topic