ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. curl
    Log in to post
    • All categories
    • scottalanmillerS

      Send an Email via SMTP from Command Line with cURL

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion email smtp curl command line
      16
      4 Votes
      16 Posts
      2k Views
      travisdh1T

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @Dashrender said in Send an Email via SMTP from Command Line with cURL:

      @Pete-S said in Send an Email via SMTP from Command Line with cURL:

      @scottalanmiller said in Send an Email via SMTP from Command Line with cURL:

      First the command itself, showing gmail settings here by default but obviously fill in with your own details:

      Does it work? I thought gmail required OAuth nowadays and you couldn't use plain username & password for authentication anymore.

      gmail still allows the creation of app passwords.

      OK, then it works for now I guess.

      I always cringe when I see MSPs that set up their clients MFPs and other devices using random gmail accounts.

      IMHO it's unprofessional and much better to use a real transactional email service for these kinds of applications.

      It depends. If it is going out to customers, then it's weird. If it is for purely internal stuff then transactional email doesn't make too much sense. But if it is internal, normally you can just use whatever internal tool you already have.

      Typical scenario with gmail is that someone sets up a MFP to use a random gmail address for sending alerts and scanned documents.

      When the user scans the document it's often sent to his own email address [email protected]. So primarily internal.

      Well, problem is that gmail saves mail sent over SMTP in the sent folder. Which means that the "printer guy", who if often not even an employee, can read all the scanned document that was ever scanned and emailed by logging in to the gmail account he set up.

      And of course sent email coming from outside your domains might be flagged as spam. So people scan documents and it doesn't work. I mean the list of problems is long.

      Well when lots and lots of companies still demand to only use Gmail already, it's not so weird.

      You'd be amazing how often we get people requiring that they stay on Yahoo and AOL addresses for their businesses. I kid you not.

      5f34099e-464c-4cd3-a7e3-f7845ca46d05-picardfacepalm.jpg

    • wirestyle22W

      How do I specify the version of OpenSSL Curl uses?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion curl
      2
      0 Votes
      2 Posts
      511 Views
      DustinB3403D

      @wirestyle22 just a thought, but can you remove the out of date version and leave just the current 1.0.1?

    • wrx7mW

      Wget - Download a Web Dashboard For Local Viewing?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wget linux curl html5 smartsheet
      8
      0 Votes
      8 Posts
      1k Views
      wrx7mW

      @Pete-S said in Wget - Download a Web Dashboard For Local Viewing?:

      Here is Firefox headless mode:
      Firefox uses the same browser, just run with the headless switch. Works from version 57 and newer.
      https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode

      Thanks. I won't be able to use this with brightsign, but it might work if I have to run windows for a site that I can't view a public dashboard.

    • mlnewsM

      Windows 10 Spring Update Bit for WSL

      Watching Ignoring Scheduled Pinned Locked Moved News windows 10 windows 10 spring update wsl curl tar
      3
      1 Votes
      3 Posts
      996 Views
      JaredBuschJ

      Here is alist of other updates for it

      https://www.windowscentral.com/windows-10-redstone-4-changelog

    • scottalanmillerS

      How to Generate a UUID on Solaris

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion solaris uuid guid unix curl
      3
      2 Votes
      3 Posts
      1k Views
      scottalanmillerS

      I was pretty surprised to find that uuidgen was not available, not even available for install!

    • LakshmanaL

      Curl Issue

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion curl
      7
      0 Votes
      7 Posts
      2k Views
      LakshmanaL

      The same issue Happened while using

      Curl -L URL.com

      Because of that I am going for Remote login

    • wirestyle22W

      wget vs. curl

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wget curl discussion
      9
      0 Votes
      9 Posts
      2k Views
      scottalanmillerS

      Yup, I prefer wget but have mostly stopped using it (or installing it.) I learned wget before I knew of curl (this is all long ago.) Today, I just assume that I have curl and wget is nearly never there.

    • mlnewsM

      cURL on Windows

      Watching Ignoring Scheduled Pinned Locked Moved News windows curl
      2
      2 Votes
      2 Posts
      933 Views
      tonyshowoffT

      Of course it exists (awesome things tend to get ported 😉 ), I use it all the time, and I have for years. It's pretty great. Not only that but you can get a lot of tools on Windows:

      http://gnuwin32.sourceforge.net/

      I can't use Windows without this, that is the base and a lot of the packages (wget especially; yes I use both wget and curl :P)

    • mlnewsM

      Check the Weather from the Command Line

      Watching Ignoring Scheduled Pinned Locked Moved News curl weather
      9
      4 Votes
      9 Posts
      2k Views
      scottalanmillerS

      @tonyshowoff said:

      @scottalanmiller said:

      @Dashrender said:

      @scottalanmiller said:

      @Dashrender said:

      what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.

      You can connect from PuTTY to a better OS that is easier to use 😉

      When connecting from PuTTY, what would I be connecting to? Currently BASH isn't available with a SSH connection on Windows 10.

      Linux of course. Windows is the problem. Bypass it.

      Ronald Reagan should've said that.

      He probably did.

    • scottalanmillerS

      Using CURL and Screen Scraping To Track Topic Performance in NodeBB

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion nodebb mangolassi curl bash
      1
      2 Votes
      1 Posts
      895 Views
      No one has replied
    • scottalanmillerS

      Using Curl to Access Spiceworks

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion curl bash spiceworks scottalanmiller
      1
      1 Votes
      1 Posts
      957 Views
      No one has replied
    • scottalanmillerS

      Get Your IP Address from a Command Line

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion curl
      15
      3 Votes
      15 Posts
      3k Views
      M

      @scottalanmiller said:

      @Martin9700 said:

      (Invoke-WebRequest ifconfig.me/ip).Content

      Sweet, just tried it here, works great.

      Still like the output from my script better--more PowerShellish. It's also quite a bit faster (the ifconfig.me site seems pretty sluggish).

    • 1 / 1