Results 1 to 2 of 2

Thread: sending email

  1. #1

    sending email

    Hi im trying to send email throught tripod. they dont use sendmail, instead they use a mail module.

    require TripodMail;
    $MAIL = new TripodMail;
    $mail_template = "./flintstones_mail.txt";
    %variables = ('bubba' => 'zeus@mail.com');
    $MAIL->sendMail($mail_template, \%variables);
    thats the code... you need a mail template that says

    to: emial
    from: $bubba
    subject: fsdfjafja;
    textfjsldkfjaslfjasfjalk;

    and u need the hash variables or something... how can i get it so i can get variables from a form and put them into this code so it sends an email, cuz with the mail template it looks like u can only send one type of email.... or how could i set the value of 'bubba' => 'to a variable' ?? what does => do??? tripods mail is stupid

  2. #2
    Moderator
    Join Date
    Oct 2000
    Location
    Should be used instead of document.location . Except with a small l.
    Posts
    3,224
    Hi stryker,

    Try something like this:
    Code:
    use CGI;
    require TripodMail; 
    ...
    %variables = ('bubba' => param("from")); 
    $MAIL->sendMail($mail_template, \%variables);
    Form Parser (pass values from one page to another):
    FAQ Entry | Original Thread | Having Problems with the script? | Put Values Back Into Another Form

    Navigation: Frame

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with sending email
    By Tasmanian Devil in forum Server-side Forum
    Replies: 2
    Last Post: 27th March 2004, 20:10
  2. ASP: Sending email
    By oaklander in forum Server-side Forum
    Replies: 2
    Last Post: 18th March 2004, 21:47
  3. sending email to email via form
    By ripper in forum Client-side forum
    Replies: 1
    Last Post: 24th May 2002, 13:31
  4. help with sending form to email
    By Sic84 in forum Client-side forum
    Replies: 1
    Last Post: 1st March 2001, 08:33
  5. sending newsletter via email
    By Tonya in forum Client-side forum
    Replies: 1
    Last Post: 21st February 2001, 19:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •