Jump to content

How is command for send email


Ropo

Recommended Posts

The raw command would be

sendmail

http://www.computerhope.com/unix/usendmai.htm

 

But it would probably be far easier to use the built-in notification system (/usr/local/emhttp/plugins/dynamix/scripts/notify)

notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [add]
  create a notification
  use -e to specify the event
  use -s to specify a subject
  use -d to specify a short description
  use -i to specify the severity
  use -m to specify a message (long description)
  use -x to create a single notification ticket
  use -t to force send email only (for testing)
  all options are optional

Link to comment

Squid, "Notify" is interesting but how I do notify "event/trigger" due to sleeping and wake-up with this script?

 

I know how works the command "notify". My UnRaid server now announces and sends e-mails before go to sleeping and wake-up from sleep.

 

Squid, many thanks for good idea!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...