Email from Command Line
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Email from Command Line

 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming
Author Message
Jim
Guest





Posted: Tue Dec 21, 2004 10:03 pm    Post subject: Email from Command Line Reply with quote

I am not looking for a VBScript. In the past, I had used a command line
script that built a simple text file from variables and then copied it to
the inetpub\mailroot\pickup folder where it was then delivered to whomever
was addressed in the text file. Obviously, the text file had to be
formatted in such a way the system could read it as mail and deliver it.
Can anyone give me an example of how a simple text file would have to be
laid out so that it can be delivered in this manner? I've lost my records.

Thanks,
Jim
Back to top
Ray Costanzo [MVP]
Guest





Posted: Tue Dec 21, 2004 10:29 pm    Post subject: Re: Email from Command Line Reply with quote

Here's a sample from before.
http://groups-beta.google.com/group/microsoft.public.inetserver.asp.general/msg/88ec941434ebc507

If you're running the script on the SMTP server, you wouldn't want to use a
UNC path to the server. That was only relevant to the original question in
this thread. A hard-coded "C:\Inetpub\mailroot\pickup" would probably
suffice.

Ray at work

"Jim" <not@home.now> wrote in message
news:%23USkaa35EHA.2608@TK2MSFTNGP10.phx.gbl...
Quote:
I am not looking for a VBScript. In the past, I had used a command line
script that built a simple text file from variables and then copied it to
the inetpub\mailroot\pickup folder where it was then delivered to whomever
was addressed in the text file. Obviously, the text file had to be
formatted in such a way the system could read it as mail and deliver it.
Can anyone give me an example of how a simple text file would have to be
laid out so that it can be delivered in this manner? I've lost my
records.

Thanks,
Jim

Back to top
Ray Costanzo [MVP]
Guest





Posted: Tue Dec 21, 2004 10:33 pm    Post subject: Re: Email from Command Line Reply with quote

So, I apparently missed the first sentence in your post, "I am ~not~ looking
for VBScript." :|

Ray at work

"Jim" <not@home.now> wrote in message
news:%23USkaa35EHA.2608@TK2MSFTNGP10.phx.gbl...
Quote:
I am not looking for a VBScript. In the past, I had used a command line
script that built a simple text file from variables and then copied it to
the inetpub\mailroot\pickup folder where it was then delivered to whomever
was addressed in the text file. Obviously, the text file had to be
formatted in such a way the system could read it as mail and deliver it.
Can anyone give me an example of how a simple text file would have to be
laid out so that it can be delivered in this manner? I've lost my
records.

Thanks,
Jim

Back to top
Jim
Guest





Posted: Tue Dec 21, 2004 11:00 pm    Post subject: Re: Email from Command Line Reply with quote

Thanks anyway. I did get what I need from the script. Apparently there is
no magical header...

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:Od7QOr35EHA.1596@tk2msftngp13.phx.gbl...
Quote:
So, I apparently missed the first sentence in your post, "I am ~not~
looking
for VBScript." :|

Ray at work

"Jim" <not@home.now> wrote in message
news:%23USkaa35EHA.2608@TK2MSFTNGP10.phx.gbl...
I am not looking for a VBScript. In the past, I had used a command line
script that built a simple text file from variables and then copied it to
the inetpub\mailroot\pickup folder where it was then delivered to
whomever
was addressed in the text file. Obviously, the text file had to be
formatted in such a way the system could read it as mail and deliver it.
Can anyone give me an example of how a simple text file would have to be
laid out so that it can be delivered in this manner? I've lost my
records.

Thanks,
Jim



Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB