A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: I program Flash! Not Servers, Help! :)

  1. #1
    Blood elf, or PHP guru... hmmm Paradoxz's Avatar
    Join Date
    Aug 2001
    Location
    Califorina
    Posts
    589
    Hey guys,

    Does anyone know how to find out the path to sendmail e.g. /usr/sbin etc.. I cant get it to work with a script.. I know the path isn't right though.. Is there a program or command to in out the path?

    Thanks a lot guys!

  2. #2
    Junior Member
    Join Date
    Mar 2002
    Posts
    25
    You will have to get that information from your server, cause there are different paths according to each server.
    The most used methods are cgiemail or formmail.

    cgiemail
    ------------
    cgiemail is a CGI to E-Mail gateway. It accepts the results of a form, and uses a template file to build and construct an e-mail message containing those results. This makes it considerably more flexible than FormMail.

    To use cgiemail, you must first construct a form for site visitors to use to send you information. If you have a Virtual or Vanity Domain, the opening tag of the form must be:

    <FORM METHOD="POST" ACTION="/cgi-sys/cgiemail/template.txt">
    If you do not have a domain, or if you are using SSL and do not have your own secure certificate, you must use:
    <FORM METHOD="POST" ACTION="/cgi-sys/cgiemail/username/template.txt">
    In either case, cgiemail will automatically find your Web directory and look there (or in a subdirectory you specify) for the template file.
    -----------------------------------

    formmail

    Sample usage:


    <FORM METHOD="POST" ACTION="/cgi-sys/formmail.pl">
    <INPUT TYPE="hidden" NAME="recipient" VALUE="you@example.com">

    ...other form fields go here...

    <INPUT TYPE="submit" VALUE="Submit">
    <INPUT TYPE="reset" VALUE="Reset">
    </FORM>

    The following fields can be defined for formmail.pl; only the recipient field is required:

    recipient (required)
    This field specifies the destination e-mail address for the form contents. Example:

    <INPUT TYPE="hidden" NAME="recipient" VALUE="address@domain.com">

    --------------------------------------------

  3. #3
    Blood elf, or PHP guru... hmmm Paradoxz's Avatar
    Join Date
    Aug 2001
    Location
    Califorina
    Posts
    589

    Wink Not to sound extremely stupid...

    woah boy.. not to sound extremely stupid.. I should know the path.. I host my own site off of an Apache server. I dont though. Is there a program, or how can i find it out?

    thanks a million..

    -c.k.

  4. #4
    Junior Member
    Join Date
    Mar 2002
    Posts
    2

    Post HOWTO find sendmail on your system

    The best way to do that is:
    $> find / -name sendmail

    usually it is at /usr/lib/sendmail but that depends on
    your operating system.
    hope that helps!

  5. #5
    Blood elf, or PHP guru... hmmm Paradoxz's Avatar
    Join Date
    Aug 2001
    Location
    Califorina
    Posts
    589
    Thanks for your reply.. I'm having a dumb day (year)..
    how exactly do i do the find that you mentioned? I'l lost..

    Thanks again man..
    -c.k.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center