| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, I am wondering if there's a way to send email in PC's command line automatically using one command
I have found that I can type the following in DOS explorer mailto:email@address.com?subject=test but this will open up the Microsoft Outlook and I will have to type the message body or click on the "send" button for the mail to be sent. Is there a way I can send the email automatically? thank you. |
|
#2
|
|||
|
|||
|
Not exactly an IIS question, moved.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
|
|
#4
|
||||
|
||||
|
ummmm... there are ways to do this but you need to have a webserver of somekind up and running on your machine. if you have apache running and you have php as your server side script setup and running then i can give you a php script that you can then run from the command line (and either pass the content of the email, address etc, or have it configured to mail a particluar address with certain content).
Well this is an asp forum so i dont know how this php idea is going to work, but i know this is possibel provided you use a webserver and a server side script. look around and see if asp allows this. the main idea is to call the script from the command line. |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows OS > automatically send email using command line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|