Results 1 to 6 of 6
  1. #1
    How does mail work in UNIX/BSD

    Member Since
    Feb 03, 2008
    Posts
    168
    How does mail work in UNIX/BSD
    I'm banging my head over this.

    I'm going through 'Learning the bash shell' (which you may be familiar with) and am at the MAIL section of Shell variables in chapter 3. I'm trying to send a mail message with the mail command, but nothing happens. I've tried to send a message to my gmail account with

    mail (email address) cntrl-d

    to send, but nothing happens. Can someone tell me what I'm doing wrong/and tell me exactly what I'm supposed to do? Do I need to configure something, or what? I'm not sure this book is explaining things completely. All it does is talk about MAIL, MAIL PATH, and MAILCHECK; it's only a couple of pages.

    HELP!

  2. #2
    How does mail work in UNIX/BSD
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    mail -s testing me@whereever.com < cameraString.txt

    The less than sign uses the content in the file name that follows it. Without that, you just type in your message and use cntrl-d as you indicated.

    Do a man mail

    P.S. I'm using the tsch, but I don't think that matters here.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3
    How does mail work in UNIX/BSD

    Member Since
    Feb 03, 2008
    Posts
    168
    I did that and nothing happened. I get an EOT (what does that mean?)

    Do I have to configure something?

    I've looked at the man pages but the only thing it says about sending is cntrl-d, which I did.

    Is there any book I can get about using the unix mail program?

    I'm getting really frustrated with this

  4. #4
    How does mail work in UNIX/BSD
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I don't know. I'm using Snow Leopard in case that might be a difference. I do not recall setting anything.

    Perhaps a hint can be found at macosxhints.com
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  5. #5
    How does mail work in UNIX/BSD

    Member Since
    Feb 03, 2008
    Posts
    168
    xstep --

    I'm using Snow Leopard as well, but I get nothing.

    What did you do to make yours work?

  6. #6
    How does mail work in UNIX/BSD
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Besides the fact that I'm using the tcsh, I don't recall making any other changes or settings.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Got the flags in Mail to work, now the "flagged mail box disappeared
    By Jungle Girl in forum OS X - Operating System
    Replies: 0
    Last Post: 06-05-2015, 09:36 AM
  2. Seeking Ideas- 3rd Party E Mail Which Will Work With Mac Mail
    By PGB1 in forum OS X - Apps and Games
    Replies: 4
    Last Post: 02-28-2013, 05:14 AM
  3. darwin / bsd
    By Adam_X in forum OS X - Operating System
    Replies: 0
    Last Post: 02-04-2008, 08:56 PM
  4. If itll work on linux/bsd, will it work on os x?
    By MadSkillzMan in forum Switcher Hangout
    Replies: 1
    Last Post: 04-23-2005, 02:21 PM
  5. Replies: 4
    Last Post: 09-25-2004, 02:12 AM

Posting Permissions

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