Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sending email through perl

Posted on 1998-10-11
1
Medium Priority
?
230 Views
Last Modified: 2010-03-05
I am _VERY_ new to perl, and am wanting to have my web page
send an email to me when a user submits a form.  I want the user to enter his or her email address in an INPUT in the FORM on one page.  When the form is submitted to some file (let's call it handleForm.pl), I want perl to email me at myaddress@mydomain.com with the following syntax:

Subject: Email Address
Body:  Here is a new email address:  /* print the email address that the user entered back on the form */

Like I said, I am really new to this, so I need a good explanation and code.  Pseudocode won't do it!  Thanks!
0
Comment
Question by:mitchell042997
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
mazares earned 150 total points
ID: 1205250
Matt Kruse's mailer.cgi, one of his skillions of freely-distributed scripts, was (a) what I originally borrowed and modified to do exactly what you want to do, and (b) the starting point for how I taught myself how to use Sendmail in other ways.

The last email address I saw for Matt was mkruse@saunix.sau.edu. A web search on Perl will take you to archives containing his scripts -- and probably to a site of his own where this and other scripts will be available. Best use of that script though: use it to teach yourself how to use Sendmail with Perl scripts.

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question