Results 1 to 1 of 1

Thread: Send email from the terminal (with multiple account support)

  1. #1
    Join Date
    Oct 2011
    Beans
    1

    Question Send email from the terminal (with multiple account support)

    I'm looking for a way to send (smtp) emails from the terminal, with multiple account support.

    I need a way to set the username, password, etc.. all in the command. similar to:
    mail -pass"password" -user"some_user1@some_address" -server"smtp.some_server.com" -port"465" -to"some_user2@some_address.com" -subject"subject" -message"message"

    I've been using ssmtp, and msmtp, but they dont support the aforementioned options.

    I'm pretty compitent when it comes to the terminal, so I dont need you to write the code for me, just point me in the right direction.

    EDIT: SOLVED!

    I'm now using openssl
    Last edited by therealop; January 24th, 2012 at 11:32 AM. Reason: Fixed

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •