Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sawmaster

macrumors regular
Original poster
Hi!

I know that macs have a local mail system in terminal.

I know how to send mail (kind of) and i got the idea.

So i tried sending a mail to myself and to my ibook.

Notice: My macbook's local bonjour name is bb.local and the ibook's is bb-the-ben.local

Sending a mail to myself (bb.local)

bb:~ sawmaster$ mail bb.local
Subject: lol
lol

Now i got this far, now i cannot end the message.

I tried just closing the window and terminating, but it didn't send

I tried (command)c and i got (Interrupt -- one more to kill letter)
So i repeated that
and nothing.

Any ideas?

Thanks!
 
Thanks!

I mailed myself and did control z but it stopped and i didn't get any mail.

does mailing yourself not work?

thanks!

Control z puts the current process (mail) in the background. It did not actually stop. The purpose is to let you use the terminal for other commands while mail waits. the "fg" command will "foreground" the background process.

What you want is to send the "end of file" character "cntl-d".

There is no special "terminal" mail system. You should be able to send outbound mail via port 25 using "mail".

If you want to learn even more use a program that hides even less of the mail protocol from you. try "telnet" to port 25. I've done this many times but mostly while debugging mail server setups. basically you just type the SMTP protocol at the server.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.