2017年3月7日 星期二

Send Emails From The Windows Task Scheduler

How To Easily Send Emails From The Windows Task Scheduler

ask Scheduler doesn’t support authentication, so you can’t provide a username and password for your SMTP server -> Using SendEmail No TLS 

-f you@gmail.com -t person@example.com -u Subject -m This is the body text! -s smtp.gmail.com:587 -xu you@gmail.com -xp password -o tls=yes                           


windows scheduler to run a task every x-minutes?
:loop
CallYour.Exe
timeout /t timeToWaitBetweenCallsInSeconds /nobreak
goto :loop
http://www.splinterware.com/download/index.html
when install email relay on Windows 7 , http://www.wikihow.com/Open-Port-25
emailrelay --help --verbose


E-MailRelay V1.9

usage: emailrelay [-QAdjbegxfhHmlLtXnRBJGrkvV] [--admin=<admin-port>]
  [--admin-terminate] [--anonymous] [--as-client=<host:port>]
  [--as-proxy=<host:port>] [--as-server] [--client-auth=<file>]
  [--client-filter=<program>] [--client-tls] [--client-tls-connection]
  [--close-stderr] [--connection-timeout=<time>] [--debug] [--domain=<fqdn>]
  [--dont-serve] [--filter=<program>] [--filter-timeout=<time>] [--forward]
  [--forward-to=<host:port>] [--help] [--hidden] [--immediate]
  [--interface=<ip-list>] [--log] [--log-file=<file>] [--log-time]
  [--no-daemon] [--no-smtp] [--no-syslog] [--peer-lookup]
  [--pid-file=<pid-file>] [--poll=<period>] [--pop] [--pop-auth=<file>]
  [--pop-by-name] [--pop-no-delete] [--pop-port=<port>] [--port=<port>]
  [--prompt-timeout=<time>] [--remote-clients] [--response-timeout=<time>]
  [--server-auth=<file>] [--server-tls=<pem-file>] [--size=<bytes>]
  [--spool-dir=<dir>] [--syslog] [--tls-config=<flags>] [--verbose]
  [--verifier=<program>] [--version]

  -a, --admin=<admin-port>        enables the administration interface and
                                  specifies its listening port number
  -Q, --admin-terminate           enables the terminate command on the admin
                                  interface
  -A, --anonymous                 disables the smtp vrfy command and sends less
                                  verbose smtp responses
  -q, --as-client=<host:port>     runs as a client, forwarding all spooled mail
                                  to <host>: equivalent to "--log --no-syslog
                                  --no-daemon --dont-serve --forward
                                  --forward-to"
  -y, --as-proxy=<host:port>      runs as a proxy server, forwarding each mail
                                  immediately to <host>: equivalent to "--log
                                  --close-stderr --poll=0 --forward-to"
  -d, --as-server                 runs as a server, storing mail in the spool
                                  directory: equivalent to "--log
                                  --close-stderr"
  -C, --client-auth=<file>        enables smtp authentication with the remote
                                  server, using the given secrets file
  -Y, --client-filter=<program>   specifies an external program to process
                                  messages when they are forwarded
  -j, --client-tls                enables negotiated tls/ssl for smtp client
                                  (if openssl built in)
  -b, --client-tls-connection     enables smtp over tls/ssl for smtp client (if
                                  openssl built in)
  -e, --close-stderr              closes the standard error stream soon after
                                  start-up
  -U, --connection-timeout=<time> sets the timeout (in seconds) when connecting
                                  to a remote server (default is 40)
  -g, --debug                     generates debug-level logging if built in
  -D, --domain=<fqdn>             sets an override for the host's fully
                                  qualified domain name
  -x, --dont-serve                disables acting as a server on any port (part
                                  of --as-client and usually used with
                                  --forward)
  -z, --filter=<program>          specifies an external program to process
                                  messages as they are stored
  -W, --filter-timeout=<time>     sets the timeout (in seconds) for running the
                                  --filter processor (default is 300)
  -f, --forward                   forwards stored mail on startup (requires
                                  --forward-to)
  -o, --forward-to=<host:port>    specifies the remote smtp server (required by
                                  --forward, --poll, --immediate and --admin)
  -h, --help                      displays help text and exits
  -H, --hidden                    hides the application window and suppresses
                                  message boxes (requires --no-daemon)
  -m, --immediate                 enables immediate forwarding of messages as
                                  soon as they are received (requires
                                  --forward-to)
  -I, --interface=<ip-list>       defines the listening interface(s) for
                                  incoming connections (comma-separated list
                                  with optional smtp=,pop=,admin= qualifiers)
  -l, --log                       writes log information on stderr and to the
                                  event log (but see --close-stderr and
                                  --no-syslog)
  -N, --log-file=<file>           log to file instead of stderr (%d replaced by
                                  the date)
  -L, --log-time                  adds a timestamp to the logging output
  -t, --no-daemon                 uses an ordinary window, not the system tray
  -X, --no-smtp                   disables listening for smtp connections
                                  (usually used with --admin or --pop)
  -n, --no-syslog                 disables use of the system event log
  -R, --peer-lookup               lookup the account names of local peers to
                                  put in the envelope files
  -i, --pid-file=<pid-file>       defines a file for storing the daemon
                                  process-id
  -O, --poll=<period>             enables polling of the spool directory for
                                  messages to be forwarded with the specified
                                  period (zero means on client disconnection)
                                  (requires --forward-to)
  -B, --pop                       enables the pop server
  -F, --pop-auth=<file>           defines the pop server secrets file (default
                                  is "C:\Windows\emailrelay.auth")
  -J, --pop-by-name               modifies the pop spool directory according to
                                  the pop user name (requires --pop)
  -G, --pop-no-delete             disables message deletion via pop (requires
                                  --pop)
  -E, --pop-port=<port>           specifies the pop listening port number
                                  (default is 110) (requires --pop)
  -p, --port=<port>               specifies the smtp listening port number
                                  (default is 25)
  -w, --prompt-timeout=<time>     sets the timeout (in seconds) for getting an
                                  initial prompt from the server (default is
                                  20)
  -r, --remote-clients            allows remote clients to connect
  -T, --response-timeout=<time>   sets the response timeout (in seconds) when
                                  talking to a remote server (default is 1800)
  -S, --server-auth=<file>        enables authentication of remote clients,
                                  using the given secrets file
  -K, --server-tls=<pem-file>     enables negotiated tls/ssl for smtp server
                                  using the given openssl certificate file
                                  (which must be in the directory trusted by
                                  openssl)
  -M, --size=<bytes>              limits the size of submitted messages
  -s, --spool-dir=<dir>           specifies the spool directory (default is
                                  "C:\Windows\system32\spool\emailrelay")
  -k, --syslog                    forces system event log output if logging is
                                  enabled (overrides --no-syslog)
  -9, --tls-config=<flags>        sets tls configuration flags (eg. 2 for
                                  SSLv2/3 support)
  -v, --verbose                   generates more verbose output (works with
                                  --help and --log)
  -Z, --verifier=<program>        specifies an external program for address
                                  verification
  -V, --version                   displays version information and exits

To start a 'storage' daemon in background...
   emailrelay --as-server

To forward stored mail to "mail.myisp.net"...
   emailrelay --as-client mail.myisp.net:smtp

To run as a proxy (on port 10025) to a local server (on port 25)...
   emailrelay --port 10025 --as-proxy localhost:25

Copyright (C) 2001-2013 Graeme Walker


2017年2月21日 星期二

Desktop Icons - Enable or Disable Changing

2. In the left pane, click on to expand User Configuration, Administrative Templates, Control Panel, and Personalization. (see screenshot below)

2017年2月1日 星期三

OMUser Good Post

http://www.omuser.com/thread-239217-1-1.html

鄧淑明博士 + 肖建華是「中國最神秘的富豪

http://winnietang.hk/index.php/ehealth

中國富豪榜前十 身家400億人民幣

【星島日報報道】美國《福布斯》雜誌曾稱肖建華是「中國最神秘的富豪」。他上過中國富豪榜前十位,掌控至少九家上市公司、控股或參股三十多家金融機構,年僅四十歲個人資產估計超過四百億元人民幣。他成名超過二十年,但鮮少接受媒體公開採訪

HAPI the open source HL7

http://hl7api.sourceforge.net/
http://caristix.com/resources/hl7-survival-guide/

2017年1月12日 星期四

List of the CIS ( by a list of commercial software developer)

https://www.icnarc.org/documents/Software%20Options%20and%20List%20of%20Software%20Developers.pdf

Commercial software developers
AcuBase Ltd
Anne Beverley, Company Secretary
PO Box 28836, London SW13 8WJ
Tel: 020 8741 1934 Email: anne@acubase.org Website: www.acubase.org
Chameleon Information Management Services Limited
Marc Warburton, Chief Executive
59-61 High Street, Rickmansworth, Hertfordshire WD3 1RH
Tel: 01923 896939 Email: cims@infofl ex-cims.co.uk
Critical Care Audit Limited (Ward Watcher software)
Brian Millar, Director
133 Main Street, Menston, Ilkley, West Yorkshire LS29 6HT
Tel: 01943 875330 Email: brian@critcare.demon.co.uk
Draeger Medical UK
Lesley Youren, Care Area Manager Monitoring and IT
Mark Road, The Willows, Hemel Hempstead HP2 7BW
Email: lesley.youren@draeger.com Website: www.draeger-medical.com
iMDsoft Ltd
Shahar Seri, R&D Director
4 Kiryat Atidim, PO Box 58178, Tel Aviv, Israel
Tel: +972 3 7682 888
Email: shahar.seri@imd-soft.com Website: www.imd-soft.com
Manchester Royal Infi rmary (MIDAS software)
Jason Ratcliffe, Informatics Manager
Critical Care Directorate, Oxford Road, Manchester M13 9WL
Tel: 0161 276 4714 Email: jason.ratcliffe@cmmc.nhs.uk
Medical Associated Software House Limited (ICARE ICU Program)
Tony Chang, Systems & Customer Support Manager
19 Chipperfi eld Park Road, Bloxam, Nr. Banbury, Oxfordshire OX15 4NX
Tel: 01295 720961 Email: tonychang@medsoft.co.uk
ICNARC Case Mix Programme Updated 30 July 2008
Commercial software developers (continued)
Mela Solutions Limited (MedICUs software)
Cristina Willans, Specialist Software Manager
PO Box 2167, Gerrards Cross, Buckinghamshire SL9 8XF
Tel: 01753 892932 / 480460 Email: cristina.willans@mela.co.uk Website: www.mela.co.uk
Philips Medical Systems (CareVue software)
Jane Leech, Application Specialist
The Observatory, Castlefi eld Road, Reigate RH2 0FY
Tel: 01737 230419 Email: jane.leech@philips.com Website: www.medical.philips.com
St Paul’s Hospital
Peter Dodek, ICU Director
Centre for Health Evaluation & Outcome Science, 1081 Burrard Street
Vancouver, British Columbia, Canada V6Z 1Y6
Email: pedodek@interchange.ubc.ca
System C Healthcare
Sudesh Patel, Systems Development Manager
Brenchley House, Week Street, Maidstone, Kent ME14 1RF
Tel: 01622 691616 Email: sudesh.patel@systemc.com

2017年1月6日 星期五

Innvoian Client Install (Special on HA PMHCMSCISPC)

background: 
HA CMS computer with many limitation and control in Third party Software Installation , User account administrative right , Proxy whitelist blacklist (allow.pac , close.pac) , Java security right.
So HA CMS Team setup of new extra computer and workstation for lower administrative right to run both Innvoian CIS and HA CMS in one HA provide PC.

first time setting on Innovian Client:

1. login account have Administrator right (for run Web Client setup(ActiveX) and Visual C ++ Redistribution 2008 ) 

2. check Windows 7 is 32 bit or 64 bit , if is 32 bit , IE work fine in 32 Bit.
if 64 Bit , IE version will need to use 32 Bit
As:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe" -nomerge http://yourserverip/start.asp

3.use "-nomerge" on IE link at the end

4.IE11 add "Compatibility View Settings" -> 160.X.X.X

5.Trusted Site add -> 160.X.X.X

6.No Popup blocking and also add -> 160.X.X.X in the lists

7.IE -> Security -> Internet Setting -> Default 


8.Control Panel -> Java ->  Exclude 160.X.X.X running under proxy 

9.Run Install process on manual .10. Login Accept Frist JAVA warning "ReportPopup"


11. Check Trend and Summary page will not be Hang. And display correctly