Sending email from command line

D

dragos

Is there a way to send email from the command line.
Like
send -to (e-mail address removed) -subject aaaa -body message body
 
H

Hal Hostetler [MVP P/I]

S

Sue Mosher [MVP-Outlook]

There is no such switch. A self-sending message would require a custom form with code behind it to perform the send, which would be bad to use for sending an attachment. (Non-Outlook users wouldn't see it.) See http://www.outlookcode.com/d/forms/skedreport.htm

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

Definitely not using Outlook. Maybe using CDO for Windows or some other Windows API, but that's outside our scope here.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top