Mailto link problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jason1987
    New Member
    • Sep 2007
    • 15

    Mailto link problems

    Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???

    [PHP]<input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
    onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/PHP]
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Originally posted by jason1987
    Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???

    [PHP]<input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
    onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/PHP]
    This isn't php.
    Ask in the javascript forum or html.

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      Originally posted by markusn00b
      This isn't php.
      Ask in the javascript forum or html.
      I'll move this to the JavaScript forum.

      moderator

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by jason1987
        Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
        Give the HTML version of the code.

        Comment

        • jason1987
          New Member
          • Sep 2007
          • 15

          #5
          [HTML] <input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
          onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print $rowres1[4]?>%0AReason:%20 <?print$reason? >%0A%0ADocument %20Request%20Li nk:%20http%3A//www.psnonline.c o.uk/psnnet/docrequestopenr emove.php%3Fdoc requestid%3D<?p rint$id?>?>%0AN ew%20Document%2 0Removal%20Requ est.'">[/HTML]

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            There's still PHP there. View Source in the browser to see what it appears like client-side.

            Comment

            • Logician
              New Member
              • Feb 2007
              • 210

              #7
              Originally posted by jason1987
              Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???
              Even if you fix it, how will you know it works with other mail clients?
              Mailto links are not recommended, since they rely on the user having a mail client set-up with an account that they can use. That will not always be the case.

              Comment

              Working...