Announcement

Collapse
No announcement yet.

popup/email a friend nearly figured need help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    popup/email a friend nearly figured need help

    hi people

    i have been playing with a popup email a friend link to include the product details

    can someone help

    please

    i know its sneaky but is there anyway to BCC me in on the email
    then i can track if it works and of course build my database up

    here is my code some typed some borrowed
    followed this first
    Creating Additional Pop-Up Windows
    then added to it


    see what you think

    link to test it
    http://www.cheapadulttoys4u.co.uk/ac...yhose_O_S.html

    code i used to create it

    [QUOTE</head>

    <body topmargin="0" leftmargin="0">

    <table cellspacing="1" cellpadding="5" class="leftmenu" width="100%">
    <tr>
    <td><img border="0" src="/cadult4uc.jpg" width="170" height="79"></td>
    <body topmargin="0" leftmargin="0">

    <table cellspacing="1" cellpadding="5" class="leftmenu" width="100%">
    <tr>
    <td align="right"><a class=red href='javascript:self.close();' alt="Click here to close this window">Close window</a></td>
    </tr>
    </table>
    <form action="rmd_send.asp" method="get">
    <input type=hidden name=prodcode value='<actinic:variable name="SectionName" />'>
    <input type=hidden name=prodcode value='<actinic:variable name="ProdRef" />'>
    <input type=hidden name=prodname value='<actinic:variable name="ProductName" />'>
    <input type=hidden name=prodcode value='<actinic:variable name="ProductImageFileName" />'>
    <table cellspacing="0" cellpadding="5" class="leftmenu" width="100%"><tr><td align="center" valign="bottom">
    <table width="100%" border="0" align="center" cellspacing=0 cellpadding=3 class="sbodytext" style="border:solid 1px #808080;"><tr><td>
    <table width=100% class=leftmenu cellpadding="2" cellspacing="2">

    <tr>
    <td colspan="2" class=headerbar>To recommend <b><actinic:variable name="ProductName" /></b> to a friend please fill out the following form.</td>
    </tr>

    <tr>

    <td align="right"><b>Your&nbsp;Email:</b></td>
    <td ><input class="inputbox" maxlength="50" size="25" name="mail_from" value=""></td>
    </tr>
    <tr>
    <td align="right"><b>Your&nbsp;Name:</b></td>
    <td ><input class="inputbox" maxlength="50" size="15" name="fname_from" value="">
    <input class="inputbox" maxlength="50" size="25" name="lname_from" value=""></td>

    </tr>
    <tr>
    <td align="right"><b>Your&nbsp;Friends&nbsp;Email:</b></td>
    <td ><input class="inputbox" maxlength="50" size="25" name="mail_to" value="" ></td>
    </tr>
    <tr>
    <td align="right"><b>Your&nbsp;Friends&nbsp;Name:</b></td>

    <td ><input class="inputbox" maxlength="50" size="15" name="fname_to" value="">
    <input class="inputbox" maxlength="50" size="25" name="lname_to" value=""></td>
    </tr>
    <tr>
    <td align="right" valign="top"><b>Message:</b></td>
    <td ><select class="inputbox" name="premade" nostyle="width:250px;">
    <option value="">No message</option>
    <option value="1">Buy me this and I promise you a night you'll never forget...</option>

    <option value="8">Buy me this or don't bother coming home tonight...</option>
    <option value="2">I saw this and thought of you...</option>
    <option value="3">Fancy trying something new?</option>
    <option value="4">Wanna get jiggy with Mr Biggy?</option>
    <option value="5">This is almost as hot as you...</option>
    <option value="6">Does this tickle your fancy?</option>
    <option value="7">Let's have a quiet night in...</option>
    <option value="personal">Or enter your own message below</option>
    </select></td>

    </tr>
    <tr>
    <td align="right" valign="top"><b>Other:</b></td>
    <td ><textarea class="inputbox" name="message" rows="6" cols="70" onBlur="if (this.value=='') {this.value='Enter personal message here'}" onFocus="if (this.value=='Enter personal message here') {this.value=''}" >Enter personal message here</textarea></td>
    </tr>
    </table>

    </td></tr></table>
    <input type="submit" name="ACTION" value="Send" />

    </body>
    </html>
    [/QUOTE]
    Remembering the road to Actinic enlightenment is a long and sometimes painful one.
    Current project:
    cheapadulttoys4u.co.uk
    cheaplingerie4u.co.uk
    Something for the Missus,Something for the Weekend

    #2
    what function are you using in your asp script? If it's some sort of call to a sendmail procedure then you can see if it accepts additional argument for bcc.

    I did something along those lines, created another brochure page based on the contact us one but with a form adapted to the tell-a-friend concept and the page is php, not html. The form action calls a php script which does the sending and then redirects me to the product's page. For a bcc, call whatever mail method you use twice, first with the friend's email as recipient and the second with your own email as recipient. That way, it's transparent to the first recipient who'll never know a copy of the email was also sent to you.

    Comment

    Working...
    X