@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