Forums

This topic is locked

e-mail "to"

Posted 22 Sep 2006 10:44:12
1
has voted
22 Sep 2006 10:44:12 Marc M posted:
In a detail page I show the e-mailadress of a member which is stored in a database.
By typing "mailto:" in the link field, outloook express opens. But how can I fill in automatically the field "to" in Outlook Express with the e-mail adress of the databank?
Thanks

Replies

Replied 03 Oct 2006 18:59:33
03 Oct 2006 18:59:33 Tracy Sweder replied:
I don't know what language you are doing this in - but if it were PHP then I would think having the PHP Script call the info from the database like this

<a href="mailto:<?php echo $row_Recordset1['email']; ?></a>

Should result in a link that when clicked on opens the viewers email and puts the email addy into the "To" field <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

Reply to this topic