Greetings.

At our site we want to send some of our users the calendar of events that they have added to the site. So, my plan was to send them an html email containing text fields so that they could modify their data and submit it back to us.

I've gotten as for as sending a sample html email by doing the following:

my $message = MIME::Lite->new( From => 'our address', To => 'their address', Subject => $email_subject, Type => "text/html", Encoding => '7bit', Data => $email_text); $message->send;

where the $email_text is:

<html><title>Testing</title> <body> <p> <b>bolded text</b> </p> <form method="post" action="htt://www.oursite/cgi-bin/collect_email.pl"> <input type="text" name="testing" value="stuff" /> <input type="submit" name="submit" value="update" /> </form> </body></html>

And that works fine. The email shows a text field with the text stuff in it. However; when that field is changed and the submit button is clicked, the collect_email.pl is not executed.

I'm using a yahoo mail account and instead of executing the collect_email.pl, I have to log in to some yahoo site. Now I know someone have figured this out. One of the email newsletters that I receive has a subscribe field in the email to contain an address. When you hit the subscribe button, one of their pl cgis is excecuted. This works for them even though I am receiving their email through my yahoo account.

Has anyone done what I am trying to do ?

Thanks,
Marty


In reply to post form from email ? by mfisher_jr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.