473,321 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

how to use mailto command from the shell..

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
11 15100
numberwhun
3,509 Expert Mod 2GB
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
3,237 Expert 2GB
To finish an email, type Control+D.
Nov 15 '07 #3
pjerald
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
3,237 Expert 2GB
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
pjerald
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
3,237 Expert 2GB
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
heat84
118 100+
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
3,237 Expert 2GB
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
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
pjerald
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
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

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

Similar topics

2
by: Bill Petrol | last post by:
I'm trying to send a link with a querystring as the body of an email message. My HTML syntax looks something like this: <a href="mailto:xxx@yyy.com?Subject=<? print $subject ?>&Body=<? print...
15
by: Val | last post by:
Any experts on mailto: tags? I want to set a link so that the subject and some of the body of the email is filled in. This is easy for simple text, although you need to use %20 for spaces: <a...
8
by: Siemel Naran | last post by:
Hi. I'm writing a command shell that reads commands from standard input. At this point I have the command in a std::string. Now I want to execute this command in the shell. From the Borland...
6
by: Lauren Wilson | last post by:
Hi folks, In an A2K app, I have attempted to use the following command in some VBA code with IDENTICAL results with every single version of the following: Shell "outlook.exe", vbHide Shell...
1
by: VRWC | last post by:
Hello dear people, In an A2K app, I have attempted to use the following command in some VBA code with IDENTICAL results with every single version of the following: Shell "outlook.exe", vbHide...
8
by: zhiwei wang | last post by:
I remember that there is a function that could invoke shell command such as "rm" "cp", directly in .c file. But I could not recall its name, and I googled with nothing meaningful. I vaguely...
2
by: micahstrasser | last post by:
I have been trying for days to send a command to the command prompt through the shell() function in vb.net. For some reason it is not working. Here is the code: Private Sub Button1_Click(ByVal...
3
by: Bill Woodruff | last post by:
I have a small light-weight winform app (C# .NET 2.0) that does some web-scraping and, under certain conditions, needs to send a plain-text e-mail. This is simple for mail servers that don't...
11
by: jobs239 | last post by:
Can I use this line inside C program "system(java -jar <jarfilename>)" to run a java program from C? Or do I have to use some JNI interface.?
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.