Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Emails with Dreamweaver

Status
Not open for further replies.

popoki

Technical User
Jan 19, 2003
2
0
0
GB
I'm sure this is a basic question, but I am new at this...
I am trying to create an email solicitation for my company in html - complete with pictures and such. I have created the page in Dreamweaver 3. All of the graphics I have taken off of our corporate web page. When I send the email with the html in it to another address, the pictures don't show up _ I assume because they are pointing to the relative path on my deskop. So I was trying to put a URL path in the "SRC" property for the picture, but it is not working. I think I am on the right track, but obviously missing it. Could someone show me an example?

How do all those companies send me those emails with pictures that open into my email? What is the trick??

Thanks much!
 
ok. its quite simple my friend.

make it as a basic web page (in html!!!)
use the <img src=&quot;
all you need to do is upload the image file to the internet (your server) and link the images to that particular file. I hope this helps :)

Mr Goste
Goste
----------
The man with the dumb name...
 
woops.....
forgot this part :eek: !

Yes you are correct, &quot;I assume because they are pointing to the relative path on my deskop&quot; if the images are not uploaded (to the internet), then they will be pointing to the source on your desktop.

Hope this helps :)

Goste
----------
The man with the dumb name...
 
Thanks, but I'm still an html dufus, so let me better explain my question... I've created a web page on my home pc, using graphics that I copies right out of my company's web page. I've saved those pictures and my page on my pc in a local folder. Everything points great locally. What I want to be able to do is load that webpage into the body of an email (which I know how to do) and send it off through email to another location - and the pictures still show up! What I initially tried to do was have each pictures src to something like &quot;http:\\ (as this is where the originals on the webpage are), but this didn't work. Is this the wrong approach - can you do it this way? OR do I have to take the whole folder of page and picts and load it onto my company server where they house the real webpage? Can someone just explain for me the logic behind how such things work? I understand housing web pages and associated media on the server, but I just don't understand how to send html though email that seem to &quot;load&quot; pictures as I open the message in my email

Thanks!
 
Hi Popoki,

It depends on your emailer as to which is the easiest method. My personal preference is to create a web page and put any clickable links with the full path. Images can be relative path. Most emails are read in a narrow window so put your page in a table with no more than 2 columns so that the text can adjust. Save the page on your home PC.

Download Group Mail - there's a free version. Set up a group mailing using your html page as the optional message. Put some text in for non-html mail clients and personalise it if you want,
ie Dear !*FIRST_NAME*!

Then send yourself a test message. You should find that even though the images weren't uploaded, sent as attachments, or linked to a website, that they'll be embedded in the email which is received. And because you've also put in standard text, anyone who doesn't receive html emails will still get a little spiel.

Once you've got that working, go back and read the instructions on personalising the html so that Hi !*FIRST_NAME*! gets picked up in the html version as well.

I'm not an Outlook Express user, but I understand that it is possible to create a stationery item from your html page which will have the same effect of embedding the images. And last time I looked I'm pretty sure Calypso could do all that too.

Good luck.
 
[tt]
Here's how I do this:

Create your form in DreamWeaver and submit it to this page. (call this email.asp) making all necessary changes from your form.



email.asp
*******************************
<%
Dim objMail
Set objMail = Server.CreateObject(&quot;CDONTS.NewMail&quot;)

HTML = HTML & &quot;<HTML>&quot;
HTML = HTML & &quot;<HEAD>&quot;
HTML = HTML & &quot;<TITLE>Send Mail with HTML</TITLE>&quot;
HTML = HTML & &quot;</HEAD>&quot;
HTML = HTML & &quot;<BODY bgcolor=&quot;&quot;white&quot;&quot;>&quot;
HTML = HTML & &quot;<TABLE cellpadding=&quot;&quot;3&quot;&quot;>&quot;
HTML = HTML & &quot;<TR><TH><FONT color=&quot;&quot;navy&quot;&quot; SIZE=&quot;&quot;4&quot;&quot;>&quot;
HTML = HTML & &quot;<IMG SRC=&quot;&quot;Your_Image.gif&quot;&quot;></A><BR><BR>&quot;
HTML = HTML & &quot;TEXT Goes Here</FONT></TH></TR>&quot;
HTML = HTML & &quot;<TR><TD>&quot;
HTML = HTML & &quot;</FONT></TD></TR></TABLE><BR><BR>&quot;
HTML = HTML & &quot;</BODY>&quot;
HTML = HTML & &quot;</HTML>&quot;

objMail.From = &quot;You@YourISP.com&quot;
objMail.Subject = &quot;My HTML email test&quot;

objMail.BodyFormat = 0
objMail.MailFormat = 0

objMail.To = &quot;You@YourHouse.com
objMail.Body = HTML
objMail.Send

Response.write(&quot;Test email was sent&quot;)
set objMail = nothing
%>
*******************************

What I usually do after this page has processed, is redirect back to the main page in some cases I add a link making my user(s) click back...

 
Is'nt there any applications out there that do this? • idaryl
idface.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top