New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How does mail work in UNIX/BSD


Post Reply New Thread Subscribe

 
Thread Tools
Straitsfan

 
Member Since: Feb 03, 2008
Posts: 144
Straitsfan is on a distinguished road

Straitsfan is offline
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!
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
Straitsfan

 
Member Since: Feb 03, 2008
Posts: 144
Straitsfan is on a distinguished road

Straitsfan is offline
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
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
Straitsfan

 
Member Since: Feb 03, 2008
Posts: 144
Straitsfan is on a distinguished road

Straitsfan is offline
xstep --

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

What did you do to make yours work?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« compiler question | AppleScript variables question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
can hotmail accounts work on mail? mgsfan18 OS X - Apps and Games 2 12-01-2008 12:57 PM
Iphone (setup using I tunes) now Mail & Address book dont work !!! Pilot1940 OS X - Apps and Games 0 11-19-2008 09:43 PM
Mail won't work with .Mac Maxp0wer2004 OS X - Apps and Games 4 07-19-2005 12:45 AM
Can't get mail client to work with hosting company serer grmgroup Web Design and Hosting 4 02-18-2005 09:48 AM

All times are GMT -4. The time now is 12:19 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?