Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 18th, 2005, 08:56 AM
jaguar jaguar is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 62 jaguar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 59 m 14 sec
Reputation Power: 4
Question automatically send email using command line

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.

Reply With Quote
  #2  
Old May 18th, 2005, 09:11 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 32 m 23 sec
Reputation Power: 180
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

Reply With Quote
  #3  
Old May 19th, 2005, 12:56 AM
medianox's Avatar
medianox medianox is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Chicago, IL
Posts: 157 medianox User rank is Private First Class (20 - 50 Reputation Level)medianox User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 22 h 47 m 49 sec
Reputation Power: 4
Send a message via ICQ to medianox Send a message via AIM to medianox Send a message via MSN to medianox Send a message via Yahoo to medianox
Unforunately, Windows does not directly support this kind of manipulation from the command line. While I would rather just ask you to download a distro of linux,
There are a host of programs for sale that will add this functionality to your old friend, C:\.

Here is one
there are many others here

Reply With Quote
  #4  
Old May 24th, 2005, 06:42 AM
oneMSBi's Avatar
oneMSBi oneMSBi is offline
Caution:Loderator Moose !
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: India
Posts: 235 oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level)oneMSBi User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 22 h 49 m 43 sec
Reputation Power: 6
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.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > automatically send email using command line


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway