473,508 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to use mailto command from the shell..

77 New Member
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 15116
numberwhun
3,509 Recognized Expert Moderator Specialist
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 Recognized Expert Specialist
To finish an email, type Control+D.
Nov 15 '07 #3
pjerald
77 New Member
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 Recognized Expert Specialist
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 New Member
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 Recognized Expert Specialist
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 New Member
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 Recognized Expert Specialist
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
gandraphael
2 New Member
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 New Member
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
gandraphael
2 New Member
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
13268
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
29890
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
1333
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
10034
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
3826
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
35028
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
6655
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
13484
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
2702
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
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7488
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.