Click to See Complete Forum and Search --> : emails with HTML
mkokid
07-02-2003, 02:51 AM
I hope someone of you can help. I am a junior web designer and I am currently trying to send emails using HTML code - I just want them to appear like webpages. I was wondering ehther there is a way of adding some kind of script that adds the receiver's user name in the page, something like: "Welcome USERNAME". Is there any way?
Thanks in advance.
luc83
07-02-2003, 12:58 PM
You'd have to use server side scripting and the SMTP service in order to do something like that...
Jonathan
07-02-2003, 01:04 PM
I know how to post the user ID in the webpage, but not e-mail...
It is Javascript:
<!-- Place this into the HEAD tag of your html -->
<script language="JavaScript" type="text/javascript">
<!--
var name = prompt("Welcome, Please enter your name below:");
//-->
</script>
<!-- Place this in the body of your html -->
<!-- This is where you want the text to show up. -->
<script language="JavaScript" type="text/javascript">
<!--
document.writeln("Hello, " + name + ". We hope you enjoy your stay!");
//-->
</script>
PeOfEo
07-02-2003, 04:28 PM
You should learn a server side language if you want to do that kind of stuff mkokid. Might I suggest asp.net (Its fun :))