mailto tag in html generated with perl

Discussion in 'Perl Misc' started by kevin12345@cableone.net, Aug 8, 2006.

  1. Guest

    Hi,
    I have a few perl scripts that are generating html files. At the bottom
    of the page I have links to contact the webmaster, however, when the
    links are generated, they do not show the entire link.

    Here is an example:

    <a href="mailto:p">Contact Webmaster</a>

    When I open the html file, the link only wants to go to
    "mailto:person.time.com" with no "@place"

    Can anybody help?

    Thanks,
    Kevin
    , Aug 8, 2006
    #1
    1. Advertising

  2. J. Gleixner Guest

    wrote:
    > Hi,
    > I have a few perl scripts that are generating html files. At the bottom
    > of the page I have links to contact the webmaster, however, when the
    > links are generated, they do not show the entire link.
    >
    > Here is an example:
    >
    > <a href="mailto:p">Contact Webmaster</a>
    >
    > When I open the html file, the link only wants to go to
    > "mailto:person.time.com" with no "@place"
    >
    > Can anybody help?


    Look at the HTML that's actually generated, since you neglected to show
    any perl code, I will only assume that you need to escape the @ when
    calling print.

    If you add:

    use strict;

    to your code, it may show you the error of your ways.
    J. Gleixner, Aug 9, 2006
    #2
    1. Advertising

  3. Tintin Guest

    <> wrote in message
    news:...
    > Hi,
    > I have a few perl scripts that are generating html files. At the bottom
    > of the page I have links to contact the webmaster, however, when the
    > links are generated, they do not show the entire link.
    >
    > Here is an example:
    >
    > <a href="mailto:p">Contact Webmaster</a>
    >
    > When I open the html file, the link only wants to go to
    > "mailto:person.time.com" with no "@place"
    >
    > Can anybody help?


    You have an error on line 42 of your code.



    --
    Posted via a free Usenet account from http://www.teranews.com
    Tintin, Aug 9, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan Morrissey

    Creating HTML Email Body using MailTo tag

    Dan Morrissey, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    805
    Dan Morrissey
    Jul 9, 2003
  2. shruds
    Replies:
    1
    Views:
    709
    John C. Bollinger
    Jan 27, 2006
  3. Rolf Welskes
    Replies:
    3
    Views:
    446
    Rolf Welskes
    Oct 6, 2006
  4. Replies:
    1
    Views:
    356
    Andrew Thompson
    Nov 29, 2006
  5. Thomas Gagne
    Replies:
    2
    Views:
    306
    Robert Klemme
    Mar 15, 2013
Loading...

Share This Page