dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: formmail

  1. #1
    Join Date
    Jan 2003
    Posts
    93

    formmail

    I use formmail.pl and some shtml forms to get user input before allowing them to download software. This is an attempt to get them to opt-in to our monthly newsletter (no spamming), The problem is that could enter any address and then be forwarded to the download page, I would like them to enter a correct email address that a download url gets sent to in order to ensure they enter a valid address.
    How would I go about this?
    I can't use a simle auto-responder because the email i receive from the submitted form is actually from our server, not the user, so any auto response would go to the server.
    Lost here, any help?

  2. #2
    Join Date
    Jan 2003
    Location
    USA
    Posts
    687
    What you need to do is forward the user to a page telling them to check their email for the "link" to the download page. And behind the scenes, generate an email to them with that "link".

  3. #3
    Join Date
    Jan 2003
    Posts
    93
    yeah, thats what I am saying. That much I can handle.
    The question is: how do I have an email sent to them automatically with the download link in it?

  4. #4
    Join Date
    Jan 2003
    Location
    USA
    Posts
    687
    ...as I said...generate an email to them with the link...
    This requires that you modify the script to do as such.

  5. #5
    Join Date
    Jan 2003
    Posts
    93
    You keep telling me to do what I am asking HOW to do.
    I know that I need to modify the script to send an email to the user, but I do not know how to do that. That is why I am here.

  6. #6
    Join Date
    Jan 2003
    Location
    USA
    Posts
    687
    post the portion of the script that sends the mail...

    should be something like...

    open(MAIL, "|$mailprog");


    and ends with


    close(MAIL);

  7. #7
    Join Date
    Jan 2003
    Posts
    93
    I found a snippet to add to my formmail.pl that is supposed to do what i need, i will port again if it does not work.
    Thanks

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles