By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,806 Members | 1,352 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,806 IT Pros & Developers. It's quick & easy.

how to use mailto command from the shell..

P: 77
how to use mailto command from the shell..
I typed mailto and then enter.
It asked me for to address and then i enter then it asked me for subject. Again i gave the subject as test. Now it asked me for the body of the email. And finally i don know to send the mail from the command prompt.
awaiting for reply,
Thanks,
P.Jerald.
Nov 14 '07 #1
Share this Question
Share on Google+
11 Replies

numberwhun
Expert Mod 2.5K+
P: 3,503
how to use mailto command from the shell..
I typed mailto and then enter.
It asked me for to address and then i enter then it asked me for subject. Again i gave the subject as test. Now it asked me for the body of the email. And finally i don know to send the mail from the command prompt.
awaiting for reply,
Thanks,
P.Jerald.
I have not used this utility, but have you typed "man mailto" and seen what it has to say? The man pages are your friend and can enlighten you as to many things, including how to use the utility you wish to play with.

If you are unsure about or have never used man pages, then type "man man" at the command prompt and begin reading.

Regards,

Jeff
Nov 14 '07 #2

Motoma
Expert 2.5K+
P: 3,237
To finish an email, type Control+D.
Nov 15 '07 #3

P: 77
To finish an email, type Control+D.
Thanks, Motoma, But it prints EOT and again came to command prompt.
I have read man pages but i cannot understand the bulky information(Since i am begginer) given there.
Please help me to send an email through konsole.
Awaiting response,
Thanks,
P.Jerald
Nov 16 '07 #4

Motoma
Expert 2.5K+
P: 3,237
Thanks, Motoma, But it prints EOT and again came to command prompt.
I have read man pages but i cannot understand the bulky information(Since i am begginer) given there.
Please help me to send an email through konsole.
Awaiting response,
Thanks,
P.Jerald

Hi P.Jerald,
That is exactly what should happen. When you are finished with the body of your message, you press Control+D. mailto will respond with the EOT message, and your mail will be sent.
Nov 16 '07 #5

P: 77
Hi P.Jerald,
That is exactly what should happen. When you are finished with the body of your message, you press Control+D. mailto will respond with the EOT message, and your mail will be sent.
Thnaks Motoma..
I have given my email id(In to address) and checked my inbox.. But i didn't find my test email..
Should i do any thing after pressing ctrl+D.
Thanks ,
P.Jerald.
Nov 17 '07 #6

Motoma
Expert 2.5K+
P: 3,237
Thnaks Motoma..
I have given my email id(In to address) and checked my inbox.. But i didn't find my test email..
Should i do any thing after pressing ctrl+D.
Thanks ,
P.Jerald.
Hrm...If there was a problem sending the message, you will most probably have an email of your own. Check by using the "mail" command.
Nov 18 '07 #7

100+
P: 118
I have used the mail command and it works on distributions that use sendmail as the mail transfer agent. Which distributions are you using and which mail transfer agent are you using?
Nov 20 '07 #8

Motoma
Expert 2.5K+
P: 3,237
What I meant by using mail was that any errors that mailto has will show up in your inbox. So if you tried using mailto, and mailto encountered an error, the error message will be in a message in your mail.
Nov 20 '07 #9

P: 2
Thnaks Motoma..
I have given my email id(In to address) and checked my inbox.. But i didn't find my test email..
Should i do any thing after pressing ctrl+D.
Thanks ,
P.Jerald.
BTW: Ctrl-D signals "end of file'.
Nov 22 '07 #10

P: 77
BTW: Ctrl-D signals "end of file'.
K. But after ending the file, How to send it ?

Is there any difference between ending the file and sending the mail ?
I just want to send the mail.
Thanks in advance.
P.Jerald.
Nov 23 '07 #11

P: 2
Quote:
Originally Posted by gandraphael
BTW: Ctrl-D signals "end of file'.
K. But after ending the file, How to send it ?

Is there any difference between ending the file and sending the mail ?
I just want to send the mail.
Thanks in advance.
P.Jerald.
Mail is sent after key combination "Ctrl-D" is pressed unless the mail server is your problem - check with your local administrator.

-Gand
Nov 30 '07 #12

Post your reply

Sign in to post your reply or Sign up for a free account.