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.
  • Posts

    • Went on a bit of a Bethesda binge recently after the Oblivion remaster release, although not in a positive way. I liked the OG Oblivion and completed it nearly 20 years ago, but the remaster didn't resonate with me in the same way - just feels like it hasn't aged well, gameplay-wise - so I moved onto finally giving Skyrim a go after owning it for so many years, and I had what I've been informed was a classic introduction to the game... It got stuck shortly after that at the point where an NPC's supposed to be thrown on the chopping block and beheaded; everyone just stood in place twiddling their thumbs and not saying their lines (this was the Xbox version too of the 'Special Edition' with no mods enabled). Did the same every time I reloaded, so took it as a sign that even the game was telling me to just bin it, so I did and moved onto Fallout 4, which is alright so far (touch wood).
    • Welcome to Neowin!
    • Main browser - Edge   Works for everyday usage. DuckDuckGo for other more private things.  😁  
    • We must seek out very different subs on Reddit. I find excellent conversation around gardening, ranching, home DIY (although in decline sadly), technology, home automation ... But you carry on with your shitposting.
  • Recent Achievements

    • Reacting Well
      James courage Tabla earned a badge
      Reacting Well
    • Apprentice
      DarkShrunken went up a rank
      Apprentice
    • Dedicated
      CHUNWEI earned a badge
      Dedicated
    • Collaborator
      DarkShrunken earned a badge
      Collaborator
    • Rookie
      Pat-Garrett went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      341
    2. 2
      snowy owl
      167
    3. 3
      ATLien_0
      161
    4. 4
      +FloatingFatMan
      161
    5. 5
      Xenon
      127
  • Tell a friend

    Love Neowin? Tell a friend!