Hi. Maybe this is a very simple question, but...
How to send an e-mail from Proxmox (one single command including address an the message, no manual dot) ?
Normally it-s possible to send from proxmox:
sendmail someone@somewhere.com [enter]
message [enter]
. [enter]
But how to do it in one single command?
I would like to adapt this script, to send messages from UPS (NUT) to myself:
https://wiki.ipfire.org/addons/nut/detailed
But it usus other mail sender (sendemail).
And how to avoid (Proxmox sendmail) this mail came inte spam @ gmail mailbox ?
How to send an e-mail from Proxmox (one single command including address an the message, no manual dot) ?
Normally it-s possible to send from proxmox:
sendmail someone@somewhere.com [enter]
message [enter]
. [enter]
But how to do it in one single command?
I would like to adapt this script, to send messages from UPS (NUT) to myself:
https://wiki.ipfire.org/addons/nut/detailed
But it usus other mail sender (sendemail).
And how to avoid (Proxmox sendmail) this mail came inte spam @ gmail mailbox ?