Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2002

    sendmail question

    hi .

    what is the basic command to send a mail in command line, using
    sendmail program.

    somebody help me.


  2. #2
    Join Date
    Dec 2001
    Ponchatoula, LA

  3. #3
    Using sendmail directly:

    /path/to/sendmail -f [email protected] [email protected]
    <insert custom headers>
    To: Someone <[email protected]>
    From: Me <[email protected]>
    Subject: Hey!
    </custom headers>
    Type message. Blah blah blah.

    That's it.... a period (.) on a line by itself sends the message. Put any customer headers you want in the beginning, where I've marked <insert custom headers> and they will be sent as a header.

    Good luck.
    .:. Hostnix .:.
    Reliable Unix & VDS/VPS Hosting
    [email protected]

Posting Permissions

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