Forum Moderators: open

Message Too Old, No Replies

HTML Email?

How do I create and send an html email message?

         

kevman

4:51 pm on Jan 3, 2002 (gmt 0)



First of all - HI! I'm a web newbie and I'm stumped... thought I'd see if I could get some help....

I'm trying to send an html email - I've built the email I want to send (in Dreamweaver) - but I can't figure out how to send it. I tried simply cutting and pasting into Outlook - no good. Webmonkey offered this advise:

Errors: errors@YourDomain.com
From: Your Name <you@YourDomain.com>
To: Recipient Name <them@Theirs.com>
Subject: test message
MIME-Version: 1.0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="filename.html"
Content-Base: [YourDomain.com...]

<b>Hello there.</b><br>
Monkey see, monkey do.

But I'm not sure what to do next.... How does one actually SEND html email? Another article I read seemed to imply I simply post a page with the correct html and it would mail from there.... Is that correct?

Thanks in advance for your sage advise!

tigger

5:06 pm on Jan 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi kevman & welcome to WebmasterWorld

I use software to send the HTML emails I'll send you the URL of the program I use, check your stickymail for details

Also try using the site search at WebmasterWorld for previous postings but here's some info to get you started.

[webmasterworld.com...]

[webmasterworld.com...]

skirril

7:43 pm on Jan 15, 2002 (gmt 0)

10+ Year Member



Hi there,

to send mail you need some application/script, and some sever to send through (smtp).

there's eg. a program called cgiemail, and there's the mail() command in PHP, if you do php scripting.

Skirril

nalpec

3:23 pm on Jan 17, 2002 (gmt 0)



I've done this a few times: here goes...

Firstly, I've only tested this in IE 5.0 5.5 6.0 so needs more testing I think, but it has worked well for me so far.

create a standard html page, and put this inside the body tags:

<form name="mailer" action="mailto:someone123@somewhere123.aaa&cc=mrDude@aaa.bb&bcc=mrsW@ant.hill&subject=Where are we going today&body=This is the main body of the message%0d%0dRegards%0d%0d%0dme@home.bye" method="GET">
Email Sample<br>
<textarea name="text" rows="5">
Type message here....
</textarea>
<input type="submit" name="submit" value="Send Email">
</form>

This will open your email client, and fill out with details of a mail. I have used this method, but added extra fields for putting in the email details, and then modified the forms action, using javascript to create a new one.

If you change the form to POST instead of GET, then it will not show you the email, it will just confirm access, and then send it. The email will appear in your sent items mails though, so you can see what was sent. Hopes this all makes sense for you. :)

nalpec

3:26 pm on Jan 17, 2002 (gmt 0)



sorry, forgot to put the message into the email body, but this can be done with javascript again quite easily :)