Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Line SendOne for Email

Status
Not open for further replies.

jnicks

IS-IT--Management
Joined
Apr 3, 2002
Messages
219
Location
US
Hey, TekTippers, is this legit?

I looked at the Email forum problems, and command line, desktop sends for Emials recurred.

So I took something from the VB section and made a program for sending. Not a big deal.

Free, on my site, entirely from TekTip motivation and information and what I call a brain.

I dunno, is this out of bounds? Whaddya say?

I was thinking of making it a FAQ as it might help some in the community.

Would it be legit if someone else made the FAQ? Not thinking of cheating, just a question. If it is an answer of :-( I'll just wipe it from my site.
tx,j





-------------------------------------------

A command line send of an Email is handy sometimes.

For OutLook Express and any other MAPI compliant Email program one can send mail from a small BASIC Program.

I took the Tek-Tips code from the VB area (Thank you, Vince)


and after not inconsiderable modification made an EXE, SendOne for the command line.

(all one line)
Code:
SendOne to=jnicks@roninsg.com subj=Test_Send_1 Msg=Testing Send One

SendOne makes your Email and puts it in the OE outbox, takes a fraction of a second.

There is a form for in case SendOne is run with no paramaters or too few (or the user specifies "/SCREEN").

msg= takes the '@' convention.

sendone.gif



A Zip including the EXE and also the source are available at the page
The zip file has the EXE only, no install or uninstall and needs the VB environment, MSVBVM50, which is probably already on your computer, or is available for free from MS


Feedback would be vastly appreciate, particularly about
[ul]
[li]whether it works with Outlook
[li]if the OutLook and OE installs need to have the MAPI OCXs sent too. (it is hard to tell once one has them installed.
[/ul]

Thanks,
J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top