Recommended Posts

  Darkinspiration said:
a programm like bmail can do the trick http://www.beyondlogic.org/solutions/cmdli...cmdlinemail.htm

but i dont see why you want to do this

585032065[/snapback]

I do have couple freaking blogs on different servers, so I can post all of them with just one email sent.

quick and easy to do from commandline, here is a link to smtpsend 3.24, works on all windows versions

http://www.dataenter.co.at/download.htm

SMTPSend is an program for Windows 2000, NT , Win95 and Win98 that sends

messages from the command line or from batch files to an SMTP address.

SMTPSend uses the following switches:

-f<Address> Senders address

-t<Address> Recipients address

-c<Dest> CC address

-h<Host> Send message to host

-s<Subject> Subject of the message

-a<AttachFile> File(s) to attach to message (wildcards allowed)

-i<ImportFile> File to import into message body

-r Disable adding linebreaks at column 78

-1 Enable Single-To mode

-v Verbose mode (show message transfer)

-g<SMTPFile> Send a raw RFC 821/822 file (ignores -c,-a,-i,-s,-r)

-n Force normal SMTP (do not use ESMTP)

-4<SOCKS4Host> SOCKS4 host

-5<SOCKS5Host> SOCKS5 host

-u<SOCKS5User> SOCKS5 user

-p<SOCKS5Password> SOCKS5 password

-dNFSD DSN Never, Failure, Success, Delay

-@<ArgFile> Read additional arguments from a file (-@FILE.EXT)

Example:

SMTPSend -fmk@domain.com -tbg@msn.com -hmx.domain.com -iBODY.TXT -aATTACH.XLS

edit: and in answer to Dark... There are hundreds of reason why you might want/need to send an email from a commandline. Want to send a log file once a day somewhere, would like to get an email when a service stops, like to get an email when a user logs on, etc.. etc...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.